summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-19 09:31:58 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-19 09:37:31 +0100
commit438fa8d5486fc81c96314c7dd1e07ac8ada1baf3 (patch)
tree5385d1c593f0fd737a1ea19c5d8b7d2972414e51 /testsuites/psxtests/psxhdrs
parentbsp/atsam: New (diff)
downloadrtems-438fa8d5486fc81c96314c7dd1e07ac8ada1baf3.tar.bz2
psxtests: Fix link-time errors
Fix link-time errors introduced by e39cdb875ce7458787b0be173f2f7893a774a673. Update #2531.
Diffstat (limited to 'testsuites/psxtests/psxhdrs')
-rw-r--r--testsuites/psxtests/psxhdrs/Makefile.am2
-rw-r--r--testsuites/psxtests/psxhdrs/time/clock_getenable_attr.c37
-rw-r--r--testsuites/psxtests/psxhdrs/time/clock_setenable_attr.c40
3 files changed, 0 insertions, 79 deletions
diff --git a/testsuites/psxtests/psxhdrs/Makefile.am b/testsuites/psxtests/psxhdrs/Makefile.am
index 0888e24aaf..8dc13e17cf 100644
--- a/testsuites/psxtests/psxhdrs/Makefile.am
+++ b/testsuites/psxtests/psxhdrs/Makefile.am
@@ -91,10 +91,8 @@ lib_a_SOURCES += time/asctime.c
lib_a_SOURCES += time/asctime_r.c
lib_a_SOURCES += time/clock.c
lib_a_SOURCES += time/clock_getcpuclockid.c
-lib_a_SOURCES += time/clock_getenable_attr.c
lib_a_SOURCES += time/clock_getres.c
lib_a_SOURCES += time/clock_gettime.c
-lib_a_SOURCES += time/clock_setenable_attr.c
lib_a_SOURCES += time/clock_settime.c
lib_a_SOURCES += time/ctime.c
lib_a_SOURCES += time/ctime_r.c
diff --git a/testsuites/psxtests/psxhdrs/time/clock_getenable_attr.c b/testsuites/psxtests/psxhdrs/time/clock_getenable_attr.c
deleted file mode 100644
index d3c73ba291..0000000000
--- a/testsuites/psxtests/psxhdrs/time/clock_getenable_attr.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * This test file is used to verify that the header files associated with
- * invoking this function are correct.
- *
- * COPYRIGHT (c) 1989-2009.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <time.h>
-
-#ifndef _POSIX_CPUTIME
-#error "rtems is supposed to have clock_getenable_attr"
-#endif
-#ifndef _POSIX_THREAD_CPUTIME
-#error "rtems is supposed to have clock_getenable_attr"
-#endif
-
-int test( void );
-
-int test( void )
-{
- clockid_t clock_id = 0;
- int attr;
- int result;
-
- result = clock_getenable_attr( clock_id, &attr );
-
- return result;
-}
diff --git a/testsuites/psxtests/psxhdrs/time/clock_setenable_attr.c b/testsuites/psxtests/psxhdrs/time/clock_setenable_attr.c
deleted file mode 100644
index 8d0bd70eb6..0000000000
--- a/testsuites/psxtests/psxhdrs/time/clock_setenable_attr.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * This test file is used to verify that the header files associated with
- * invoking this function are correct.
- *
- * COPYRIGHT (c) 1989-2009.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <time.h>
-
-#ifndef _POSIX_CPUTIME
-#error "rtems is supposed to have clock_setenable_attr"
-#endif
-#ifndef _POSIX_THREAD_CPUTIME
-#error "rtems is supposed to have clock_setenable_attr"
-#endif
-
-int test( void );
-
-int test( void )
-{
- clockid_t clock_id = 0;
- int attr;
- int result;
-
- attr = CLOCK_ENABLED;
- attr = CLOCK_DISABLED;
-
- result = clock_setenable_attr( clock_id, attr );
-
- return result;
-}