summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxenosys/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxenosys/init.c')
-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)