From b422aa3f4a8ecb27bc76c3c5f29d34e007564315 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 26 Apr 2018 16:05:45 +0200 Subject: tests: Remove configure feature checks Update #3409. --- testsuites/psxtests/psxenosys/init.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'testsuites/psxtests/psxenosys') 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 #include -#if HAVE_SYS_MMAN_H -/* POSIX mandates mprotect in sys/mman.h, but newlib doesn't have this */ #include -#endif #include #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) -- cgit v1.2.3