summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxenosys
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-26 16:05:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-05-02 07:11:03 +0200
commitb422aa3f4a8ecb27bc76c3c5f29d34e007564315 (patch)
tree3306e82c8ea3b7d6247d94f8fc04d1953725fe8d /testsuites/psxtests/psxenosys
parentDrop executable permissions on .[ch] files (diff)
downloadrtems-b422aa3f4a8ecb27bc76c3c5f29d34e007564315.tar.bz2
tests: Remove configure feature checks
Update #3409.
Diffstat (limited to 'testsuites/psxtests/psxenosys')
-rw-r--r--testsuites/psxtests/psxenosys/init.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/testsuites/psxtests/psxenosys/init.c b/testsuites/psxtests/psxenosys/init.c
index e0927446f9..00148eb50f 100644
--- a/testsuites/psxtests/psxenosys/init.c
+++ b/testsuites/psxtests/psxenosys/init.c
@@ -13,10 +13,7 @@
#include <sys/types.h>
#include <sys/wait.h>
-#if HAVE_SYS_MMAN_H
-/* POSIX mandates mprotect in sys/mman.h, but newlib doesn't have this */
#include <sys/mman.h>
-#endif
#include <pthread.h>
#define CONFIGURE_INIT
@@ -30,13 +27,6 @@
const char rtems_test_name[] = "PSXENOSYS";
-#if !HAVE_DECL_MPROTECT
-extern int mprotect(const void *addr, size_t len, int prot);
-#endif
-#if !HAVE_DECL_PTHREAD_ATFORK
-extern int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void));
-#endif
-
void check_enosys(int status);
void check_enosys(int status)