diff options
Diffstat (limited to '')
135 files changed, 154 insertions, 154 deletions
diff --git a/testsuites/psxtests/psxhdrs/clock01.c b/testsuites/psxtests/psxhdrs/clock01.c index da3a18635d..5b0584116a 100644 --- a/testsuites/psxtests/psxhdrs/clock01.c +++ b/testsuites/psxtests/psxhdrs/clock01.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_TIMERS #error "rtems is supposed to have clock_gettime" #endif diff --git a/testsuites/psxtests/psxhdrs/clock02.c b/testsuites/psxtests/psxhdrs/clock02.c index a3d6849b6c..aa59dadbb3 100644 --- a/testsuites/psxtests/psxhdrs/clock02.c +++ b/testsuites/psxtests/psxhdrs/clock02.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_TIMERS #error "rtems is supposed to have clock_settime" #endif diff --git a/testsuites/psxtests/psxhdrs/clock03.c b/testsuites/psxtests/psxhdrs/clock03.c index a3e48bf402..197fdf6326 100644 --- a/testsuites/psxtests/psxhdrs/clock03.c +++ b/testsuites/psxtests/psxhdrs/clock03.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_TIMERS #error "rtems is supposed to have clock_getres" #endif diff --git a/testsuites/psxtests/psxhdrs/clock04.c b/testsuites/psxtests/psxhdrs/clock04.c index 722be53066..2584d89b9b 100644 --- a/testsuites/psxtests/psxhdrs/clock04.c +++ b/testsuites/psxtests/psxhdrs/clock04.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_CPUTIME #error "rtems is supposed to have clock_getcpuclockid" #endif diff --git a/testsuites/psxtests/psxhdrs/clock05.c b/testsuites/psxtests/psxhdrs/clock05.c index 53d3753935..9abe84c6dd 100644 --- a/testsuites/psxtests/psxhdrs/clock05.c +++ b/testsuites/psxtests/psxhdrs/clock05.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_CPUTIME #error "rtems is supposed to have clock_setenable_attr" #endif diff --git a/testsuites/psxtests/psxhdrs/clock06.c b/testsuites/psxtests/psxhdrs/clock06.c index 4e7f8104bc..c0d9cfd8d5 100644 --- a/testsuites/psxtests/psxhdrs/clock06.c +++ b/testsuites/psxtests/psxhdrs/clock06.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_CPUTIME #error "rtems is supposed to have clock_getenable_attr" #endif diff --git a/testsuites/psxtests/psxhdrs/cond01.c b/testsuites/psxtests/psxhdrs/cond01.c index 26077b8718..c96c8976f2 100644 --- a/testsuites/psxtests/psxhdrs/cond01.c +++ b/testsuites/psxtests/psxhdrs/cond01.c @@ -17,7 +17,7 @@ #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_condattr_init" #endif - + void test( void ) { pthread_condattr_t attribute; diff --git a/testsuites/psxtests/psxhdrs/cond02.c b/testsuites/psxtests/psxhdrs/cond02.c index 05842bd7f0..42349f9bcd 100644 --- a/testsuites/psxtests/psxhdrs/cond02.c +++ b/testsuites/psxtests/psxhdrs/cond02.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_condattr_destroy" #endif diff --git a/testsuites/psxtests/psxhdrs/cond03.c b/testsuites/psxtests/psxhdrs/cond03.c index f12457ea10..5147f29d43 100644 --- a/testsuites/psxtests/psxhdrs/cond03.c +++ b/testsuites/psxtests/psxhdrs/cond03.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_cond_init" #endif diff --git a/testsuites/psxtests/psxhdrs/cond04.c b/testsuites/psxtests/psxhdrs/cond04.c index cd8e7e26a9..e87a3782c4 100644 --- a/testsuites/psxtests/psxhdrs/cond04.c +++ b/testsuites/psxtests/psxhdrs/cond04.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_cond_destroy" #endif diff --git a/testsuites/psxtests/psxhdrs/cond05.c b/testsuites/psxtests/psxhdrs/cond05.c index 08b35b4473..d07bdc57eb 100644 --- a/testsuites/psxtests/psxhdrs/cond05.c +++ b/testsuites/psxtests/psxhdrs/cond05.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_cond_signal" #endif diff --git a/testsuites/psxtests/psxhdrs/cond06.c b/testsuites/psxtests/psxhdrs/cond06.c index 7bd3078789..944b399150 100644 --- a/testsuites/psxtests/psxhdrs/cond06.c +++ b/testsuites/psxtests/psxhdrs/cond06.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_cond_wait" #endif diff --git a/testsuites/psxtests/psxhdrs/cond07.c b/testsuites/psxtests/psxhdrs/cond07.c index dadcae1494..080c443066 100644 --- a/testsuites/psxtests/psxhdrs/cond07.c +++ b/testsuites/psxtests/psxhdrs/cond07.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_cond_timedwait" #endif diff --git a/testsuites/psxtests/psxhdrs/cond08.c b/testsuites/psxtests/psxhdrs/cond08.c index adae781984..9ecda20359 100644 --- a/testsuites/psxtests/psxhdrs/cond08.c +++ b/testsuites/psxtests/psxhdrs/cond08.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_condattr_getpshared" #endif diff --git a/testsuites/psxtests/psxhdrs/cond09.c b/testsuites/psxtests/psxhdrs/cond09.c index 30f053f04d..f7edd17e5a 100644 --- a/testsuites/psxtests/psxhdrs/cond09.c +++ b/testsuites/psxtests/psxhdrs/cond09.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_condattr_setpshared" #endif diff --git a/testsuites/psxtests/psxhdrs/cond10.c b/testsuites/psxtests/psxhdrs/cond10.c index 4560c2a6a9..7caf4cb9f5 100644 --- a/testsuites/psxtests/psxhdrs/cond10.c +++ b/testsuites/psxtests/psxhdrs/cond10.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_cond_broadcast" #endif diff --git a/testsuites/psxtests/psxhdrs/key01.c b/testsuites/psxtests/psxhdrs/key01.c index 907838d4c0..ee90eccbd2 100644 --- a/testsuites/psxtests/psxhdrs/key01.c +++ b/testsuites/psxtests/psxhdrs/key01.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_key_create" #endif diff --git a/testsuites/psxtests/psxhdrs/key02.c b/testsuites/psxtests/psxhdrs/key02.c index 538bbd88c3..a96546f213 100644 --- a/testsuites/psxtests/psxhdrs/key02.c +++ b/testsuites/psxtests/psxhdrs/key02.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_setspecific" #endif diff --git a/testsuites/psxtests/psxhdrs/key03.c b/testsuites/psxtests/psxhdrs/key03.c index 38addb1964..6e099de756 100644 --- a/testsuites/psxtests/psxhdrs/key03.c +++ b/testsuites/psxtests/psxhdrs/key03.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_getspecific" #endif diff --git a/testsuites/psxtests/psxhdrs/key04.c b/testsuites/psxtests/psxhdrs/key04.c index 3e1cc4e3c1..4d6ebb52cc 100644 --- a/testsuites/psxtests/psxhdrs/key04.c +++ b/testsuites/psxtests/psxhdrs/key04.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_key_delete" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex01.c b/testsuites/psxtests/psxhdrs/mutex01.c index 675015206f..d89fda8763 100644 --- a/testsuites/psxtests/psxhdrs/mutex01.c +++ b/testsuites/psxtests/psxhdrs/mutex01.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutexattr_init" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex02.c b/testsuites/psxtests/psxhdrs/mutex02.c index 7bab4ac31e..4e73a9a8ba 100644 --- a/testsuites/psxtests/psxhdrs/mutex02.c +++ b/testsuites/psxtests/psxhdrs/mutex02.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutexattr_destroy" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex03.c b/testsuites/psxtests/psxhdrs/mutex03.c index beb59ad5db..99c57a2e22 100644 --- a/testsuites/psxtests/psxhdrs/mutex03.c +++ b/testsuites/psxtests/psxhdrs/mutex03.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutex_init" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex04.c b/testsuites/psxtests/psxhdrs/mutex04.c index 2afe0997a3..4e88ed2d51 100644 --- a/testsuites/psxtests/psxhdrs/mutex04.c +++ b/testsuites/psxtests/psxhdrs/mutex04.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutex_destroy" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex05.c b/testsuites/psxtests/psxhdrs/mutex05.c index 5b75d4c6f0..c7ac684a36 100644 --- a/testsuites/psxtests/psxhdrs/mutex05.c +++ b/testsuites/psxtests/psxhdrs/mutex05.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutex_lock" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex06.c b/testsuites/psxtests/psxhdrs/mutex06.c index 01ada9e875..d1e46a6858 100644 --- a/testsuites/psxtests/psxhdrs/mutex06.c +++ b/testsuites/psxtests/psxhdrs/mutex06.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutex_unlock" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex07.c b/testsuites/psxtests/psxhdrs/mutex07.c index ec5f880cc6..2276ef81a6 100644 --- a/testsuites/psxtests/psxhdrs/mutex07.c +++ b/testsuites/psxtests/psxhdrs/mutex07.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIO_INHERIT #error "rtems is supposed to have pthread_mutexattr_setprotocol" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex08.c b/testsuites/psxtests/psxhdrs/mutex08.c index d17b7b871f..49c4edb4ea 100644 --- a/testsuites/psxtests/psxhdrs/mutex08.c +++ b/testsuites/psxtests/psxhdrs/mutex08.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIO_INHERIT #error "rtems is supposed to have pthread_mutexattr_getprioceiling" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex09.c b/testsuites/psxtests/psxhdrs/mutex09.c index 28fc878344..85282a9f64 100644 --- a/testsuites/psxtests/psxhdrs/mutex09.c +++ b/testsuites/psxtests/psxhdrs/mutex09.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIO_INHERIT #error "rtems is supposed to have pthread_mutexattr_setprioceiling" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex10.c b/testsuites/psxtests/psxhdrs/mutex10.c index 40852dd51b..51e99ade6a 100644 --- a/testsuites/psxtests/psxhdrs/mutex10.c +++ b/testsuites/psxtests/psxhdrs/mutex10.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutexattr_getpshared" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex11.c b/testsuites/psxtests/psxhdrs/mutex11.c index 0b9e4a580c..eb6d8e5959 100644 --- a/testsuites/psxtests/psxhdrs/mutex11.c +++ b/testsuites/psxtests/psxhdrs/mutex11.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutexattr_setpshared" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex12.c b/testsuites/psxtests/psxhdrs/mutex12.c index 23a76eb5cb..f48fb9deaa 100644 --- a/testsuites/psxtests/psxhdrs/mutex12.c +++ b/testsuites/psxtests/psxhdrs/mutex12.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutex_trylock" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex13.c b/testsuites/psxtests/psxhdrs/mutex13.c index 255c5d18c9..15285c9ba7 100644 --- a/testsuites/psxtests/psxhdrs/mutex13.c +++ b/testsuites/psxtests/psxhdrs/mutex13.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_mutex_timedlock" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex14.c b/testsuites/psxtests/psxhdrs/mutex14.c index 01b453de05..687a981152 100644 --- a/testsuites/psxtests/psxhdrs/mutex14.c +++ b/testsuites/psxtests/psxhdrs/mutex14.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIO_INHERIT #error "rtems is supposed to have pthread_mutexattr_getprotocol" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex15.c b/testsuites/psxtests/psxhdrs/mutex15.c index 8cac42f8f1..cc6a7aca9e 100644 --- a/testsuites/psxtests/psxhdrs/mutex15.c +++ b/testsuites/psxtests/psxhdrs/mutex15.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIO_INHERIT #error "rtems is supposed to have pthread_mutex_getprioceiling" #endif diff --git a/testsuites/psxtests/psxhdrs/mutex16.c b/testsuites/psxtests/psxhdrs/mutex16.c index f4aa8e657f..e5140b5781 100644 --- a/testsuites/psxtests/psxhdrs/mutex16.c +++ b/testsuites/psxtests/psxhdrs/mutex16.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIO_INHERIT #error "rtems is supposed to have pthread_mutex_setprioceiling" #endif diff --git a/testsuites/psxtests/psxhdrs/proc01.c b/testsuites/psxtests/psxhdrs/proc01.c index 7e8d47b153..cda43c09e5 100644 --- a/testsuites/psxtests/psxhdrs/proc01.c +++ b/testsuites/psxtests/psxhdrs/proc01.c @@ -13,7 +13,7 @@ */ #include <sys/types.h> - + void test( void ) { pid_t pid; diff --git a/testsuites/psxtests/psxhdrs/proc02.c b/testsuites/psxtests/psxhdrs/proc02.c index f4632be272..78aac3f2c4 100644 --- a/testsuites/psxtests/psxhdrs/proc02.c +++ b/testsuites/psxtests/psxhdrs/proc02.c @@ -13,7 +13,7 @@ */ #include <sys/types.h> - + void test( void ) { pid_t pid; diff --git a/testsuites/psxtests/psxhdrs/proc03.c b/testsuites/psxtests/psxhdrs/proc03.c index 79ceee5deb..4b6f390c13 100644 --- a/testsuites/psxtests/psxhdrs/proc03.c +++ b/testsuites/psxtests/psxhdrs/proc03.c @@ -14,7 +14,7 @@ #include <unistd.h> #include <sys/types.h> - + void test( void ) { uid_t uid; diff --git a/testsuites/psxtests/psxhdrs/proc04.c b/testsuites/psxtests/psxhdrs/proc04.c index bb4e9f698d..c127ebe06d 100644 --- a/testsuites/psxtests/psxhdrs/proc04.c +++ b/testsuites/psxtests/psxhdrs/proc04.c @@ -14,7 +14,7 @@ #include <unistd.h> #include <sys/types.h> - + void test( void ) { uid_t uid; diff --git a/testsuites/psxtests/psxhdrs/proc05.c b/testsuites/psxtests/psxhdrs/proc05.c index a5a46fa7bb..e3e67e19e7 100644 --- a/testsuites/psxtests/psxhdrs/proc05.c +++ b/testsuites/psxtests/psxhdrs/proc05.c @@ -14,7 +14,7 @@ #include <unistd.h> #include <sys/types.h> - + void test( void ) { gid_t gid; diff --git a/testsuites/psxtests/psxhdrs/proc06.c b/testsuites/psxtests/psxhdrs/proc06.c index 833b597b17..5244aab354 100644 --- a/testsuites/psxtests/psxhdrs/proc06.c +++ b/testsuites/psxtests/psxhdrs/proc06.c @@ -14,7 +14,7 @@ #include <unistd.h> #include <sys/types.h> - + void test( void ) { gid_t gid; diff --git a/testsuites/psxtests/psxhdrs/proc07.c b/testsuites/psxtests/psxhdrs/proc07.c index f1fce7af2a..0e0577010c 100644 --- a/testsuites/psxtests/psxhdrs/proc07.c +++ b/testsuites/psxtests/psxhdrs/proc07.c @@ -13,7 +13,7 @@ */ #include <sys/types.h> - + void test( void ) { uid_t uid; diff --git a/testsuites/psxtests/psxhdrs/proc08.c b/testsuites/psxtests/psxhdrs/proc08.c index d43ebe53e3..f22f986bfc 100644 --- a/testsuites/psxtests/psxhdrs/proc08.c +++ b/testsuites/psxtests/psxhdrs/proc08.c @@ -13,7 +13,7 @@ */ #include <sys/types.h> - + void test( void ) { gid_t gid; diff --git a/testsuites/psxtests/psxhdrs/proc09.c b/testsuites/psxtests/psxhdrs/proc09.c index cbe197c8fa..120b3e6a93 100644 --- a/testsuites/psxtests/psxhdrs/proc09.c +++ b/testsuites/psxtests/psxhdrs/proc09.c @@ -13,7 +13,7 @@ */ #include <sys/types.h> - + void test( void ) { gid_t grouplist[ 20 ]; diff --git a/testsuites/psxtests/psxhdrs/proc10.c b/testsuites/psxtests/psxhdrs/proc10.c index 96ad638198..d9c0daaa57 100644 --- a/testsuites/psxtests/psxhdrs/proc10.c +++ b/testsuites/psxtests/psxhdrs/proc10.c @@ -13,7 +13,7 @@ */ #include <sys/types.h> - + void test( void ) { char *loginname; diff --git a/testsuites/psxtests/psxhdrs/proc11.c b/testsuites/psxtests/psxhdrs/proc11.c index 24eab9c2e3..bac2999707 100644 --- a/testsuites/psxtests/psxhdrs/proc11.c +++ b/testsuites/psxtests/psxhdrs/proc11.c @@ -14,7 +14,7 @@ #include <sys/types.h> #include <limits.h> /* for LOGIN_NAME_MAX */ - + void test( void ) { char loginnamebuffer[ LOGIN_NAME_MAX ]; diff --git a/testsuites/psxtests/psxhdrs/proc12.c b/testsuites/psxtests/psxhdrs/proc12.c index f226062fdd..7a246acfd4 100644 --- a/testsuites/psxtests/psxhdrs/proc12.c +++ b/testsuites/psxtests/psxhdrs/proc12.c @@ -13,7 +13,7 @@ */ #include <sys/types.h> - + void test( void ) { pid_t pgrp; diff --git a/testsuites/psxtests/psxhdrs/proc13.c b/testsuites/psxtests/psxhdrs/proc13.c index e8cdaa4d83..989f241f51 100644 --- a/testsuites/psxtests/psxhdrs/proc13.c +++ b/testsuites/psxtests/psxhdrs/proc13.c @@ -13,7 +13,7 @@ */ #include <sys/types.h> - + void test( void ) { pid_t pid; diff --git a/testsuites/psxtests/psxhdrs/proc14.c b/testsuites/psxtests/psxhdrs/proc14.c index dfb497d075..88e9d7a05c 100644 --- a/testsuites/psxtests/psxhdrs/proc14.c +++ b/testsuites/psxtests/psxhdrs/proc14.c @@ -13,7 +13,7 @@ */ #include <sys/types.h> - + void test( void ) { pid_t pid = 0; diff --git a/testsuites/psxtests/psxhdrs/pthread01.c b/testsuites/psxtests/psxhdrs/pthread01.c index f0e397ae2d..181469a2fa 100644 --- a/testsuites/psxtests/psxhdrs/pthread01.c +++ b/testsuites/psxtests/psxhdrs/pthread01.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_attr_init" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread03.c b/testsuites/psxtests/psxhdrs/pthread03.c index 1ad5913e67..b42371bb92 100644 --- a/testsuites/psxtests/psxhdrs/pthread03.c +++ b/testsuites/psxtests/psxhdrs/pthread03.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_attr_setdetachstate" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread04.c b/testsuites/psxtests/psxhdrs/pthread04.c index 881ef3a7c9..2a1941a06c 100644 --- a/testsuites/psxtests/psxhdrs/pthread04.c +++ b/testsuites/psxtests/psxhdrs/pthread04.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_attr_getdetachstate" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread06.c b/testsuites/psxtests/psxhdrs/pthread06.c index afc74ebfbc..33f5dd069d 100644 --- a/testsuites/psxtests/psxhdrs/pthread06.c +++ b/testsuites/psxtests/psxhdrs/pthread06.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_getstacksize" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread07.c b/testsuites/psxtests/psxhdrs/pthread07.c index 399a928c56..09452388ea 100644 --- a/testsuites/psxtests/psxhdrs/pthread07.c +++ b/testsuites/psxtests/psxhdrs/pthread07.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_create" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread09.c b/testsuites/psxtests/psxhdrs/pthread09.c index 4252d17ee7..c9b06514ae 100644 --- a/testsuites/psxtests/psxhdrs/pthread09.c +++ b/testsuites/psxtests/psxhdrs/pthread09.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_self" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread10.c b/testsuites/psxtests/psxhdrs/pthread10.c index 5e2967492f..4c65e0e293 100644 --- a/testsuites/psxtests/psxhdrs/pthread10.c +++ b/testsuites/psxtests/psxhdrs/pthread10.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_equal" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread11.c b/testsuites/psxtests/psxhdrs/pthread11.c index 2fc3263614..aad4b83d49 100644 --- a/testsuites/psxtests/psxhdrs/pthread11.c +++ b/testsuites/psxtests/psxhdrs/pthread11.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_setschedparam" #endif @@ -38,7 +38,7 @@ void test( void ) * really should use sched_get_priority_min() and sched_get_priority_max() */ - param.sched_priority = 0; + param.sched_priority = 0; #ifdef _POSIX_SPORADIC_SERVER param.ss_low_priority = 0; param.ss_replenish_period.tv_sec = 0; diff --git a/testsuites/psxtests/psxhdrs/pthread12.c b/testsuites/psxtests/psxhdrs/pthread12.c index 44c2f5eeeb..987c6f6dfa 100644 --- a/testsuites/psxtests/psxhdrs/pthread12.c +++ b/testsuites/psxtests/psxhdrs/pthread12.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_getschedparam" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread13.c b/testsuites/psxtests/psxhdrs/pthread13.c index 717bc49356..5c90869055 100644 --- a/testsuites/psxtests/psxhdrs/pthread13.c +++ b/testsuites/psxtests/psxhdrs/pthread13.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_attr_setscope" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread14.c b/testsuites/psxtests/psxhdrs/pthread14.c index a20bc30a00..b7c7e8306c 100644 --- a/testsuites/psxtests/psxhdrs/pthread14.c +++ b/testsuites/psxtests/psxhdrs/pthread14.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_attr_getscope" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread15.c b/testsuites/psxtests/psxhdrs/pthread15.c index e5b0d7f6dd..8302481a83 100644 --- a/testsuites/psxtests/psxhdrs/pthread15.c +++ b/testsuites/psxtests/psxhdrs/pthread15.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_attr_setinheritsched" #endif @@ -26,6 +26,6 @@ void test( void ) inheritsched = PTHREAD_INHERIT_SCHED; inheritsched = PTHREAD_EXPLICIT_SCHED; - + result = pthread_attr_setinheritsched( &attr, inheritsched ); } diff --git a/testsuites/psxtests/psxhdrs/pthread16.c b/testsuites/psxtests/psxhdrs/pthread16.c index 1d360b6ea6..0d5cfbdd49 100644 --- a/testsuites/psxtests/psxhdrs/pthread16.c +++ b/testsuites/psxtests/psxhdrs/pthread16.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_attr_getinheritsched" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread17.c b/testsuites/psxtests/psxhdrs/pthread17.c index 89dff22436..cd82347960 100644 --- a/testsuites/psxtests/psxhdrs/pthread17.c +++ b/testsuites/psxtests/psxhdrs/pthread17.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_attr_setschedpolicy" #endif @@ -30,6 +30,6 @@ void test( void ) #ifdef _POSIX_SPORADIC_SERVER policy = SCHED_SPORADIC; #endif - + result = pthread_attr_setschedpolicy( &attr, policy ); } diff --git a/testsuites/psxtests/psxhdrs/pthread18.c b/testsuites/psxtests/psxhdrs/pthread18.c index 9f6eec7051..ae8ce0480c 100644 --- a/testsuites/psxtests/psxhdrs/pthread18.c +++ b/testsuites/psxtests/psxhdrs/pthread18.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_attr_getschedpolicy" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread19.c b/testsuites/psxtests/psxhdrs/pthread19.c index b1f1f98ff6..17a85ecda0 100644 --- a/testsuites/psxtests/psxhdrs/pthread19.c +++ b/testsuites/psxtests/psxhdrs/pthread19.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_attr_setschedparam" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread20.c b/testsuites/psxtests/psxhdrs/pthread20.c index bd3cb7305d..f9d700e9ad 100644 --- a/testsuites/psxtests/psxhdrs/pthread20.c +++ b/testsuites/psxtests/psxhdrs/pthread20.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_attr_getschedparam" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread21.c b/testsuites/psxtests/psxhdrs/pthread21.c index dd16a2406b..91844b310c 100644 --- a/testsuites/psxtests/psxhdrs/pthread21.c +++ b/testsuites/psxtests/psxhdrs/pthread21.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_detach" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread22.c b/testsuites/psxtests/psxhdrs/pthread22.c index 46587d12e3..39abb83e8e 100644 --- a/testsuites/psxtests/psxhdrs/pthread22.c +++ b/testsuites/psxtests/psxhdrs/pthread22.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_setschedparam" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread23.c b/testsuites/psxtests/psxhdrs/pthread23.c index 4d2dd99665..0e8e5b44ef 100644 --- a/testsuites/psxtests/psxhdrs/pthread23.c +++ b/testsuites/psxtests/psxhdrs/pthread23.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_PRIORITY_SCHEDULING #error "RTEMS is supposed to have pthread_getschedparam" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread26.c b/testsuites/psxtests/psxhdrs/pthread26.c index dd3e8f1500..d42080b5aa 100644 --- a/testsuites/psxtests/psxhdrs/pthread26.c +++ b/testsuites/psxtests/psxhdrs/pthread26.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_join" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread27.c b/testsuites/psxtests/psxhdrs/pthread27.c index 51e5cfde46..712d8af252 100644 --- a/testsuites/psxtests/psxhdrs/pthread27.c +++ b/testsuites/psxtests/psxhdrs/pthread27.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_once" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread28.c b/testsuites/psxtests/psxhdrs/pthread28.c index e1e72520b0..d7e84565cc 100644 --- a/testsuites/psxtests/psxhdrs/pthread28.c +++ b/testsuites/psxtests/psxhdrs/pthread28.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_cancel" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread29.c b/testsuites/psxtests/psxhdrs/pthread29.c index 206260540b..52b84509bf 100644 --- a/testsuites/psxtests/psxhdrs/pthread29.c +++ b/testsuites/psxtests/psxhdrs/pthread29.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_setcancelstate" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread30.c b/testsuites/psxtests/psxhdrs/pthread30.c index 32b4ac94f4..1e3eafab34 100644 --- a/testsuites/psxtests/psxhdrs/pthread30.c +++ b/testsuites/psxtests/psxhdrs/pthread30.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_setcanceltype" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread31.c b/testsuites/psxtests/psxhdrs/pthread31.c index d2f399dda3..a64f0e0327 100644 --- a/testsuites/psxtests/psxhdrs/pthread31.c +++ b/testsuites/psxtests/psxhdrs/pthread31.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_testcancel" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread32.c b/testsuites/psxtests/psxhdrs/pthread32.c index be193ae31e..f841dc14b9 100644 --- a/testsuites/psxtests/psxhdrs/pthread32.c +++ b/testsuites/psxtests/psxhdrs/pthread32.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_cleanup_push" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread33.c b/testsuites/psxtests/psxhdrs/pthread33.c index 122e276815..12c6324535 100644 --- a/testsuites/psxtests/psxhdrs/pthread33.c +++ b/testsuites/psxtests/psxhdrs/pthread33.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_cleanup_pop" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread34.c b/testsuites/psxtests/psxhdrs/pthread34.c index 096561f951..9572e03e19 100644 --- a/testsuites/psxtests/psxhdrs/pthread34.c +++ b/testsuites/psxtests/psxhdrs/pthread34.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_CPUTIME #error "rtems is supposed to have pthread_getcpuclockid" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread35.c b/testsuites/psxtests/psxhdrs/pthread35.c index 698cdfcf20..668776ec02 100644 --- a/testsuites/psxtests/psxhdrs/pthread35.c +++ b/testsuites/psxtests/psxhdrs/pthread35.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_CPUTIME #error "rtems is supposed to have pthread_attr_setcputime" #endif diff --git a/testsuites/psxtests/psxhdrs/pthread36.c b/testsuites/psxtests/psxhdrs/pthread36.c index 9e38bee279..1c06006a70 100644 --- a/testsuites/psxtests/psxhdrs/pthread36.c +++ b/testsuites/psxtests/psxhdrs/pthread36.c @@ -13,7 +13,7 @@ */ #include <pthread.h> - + #ifndef _POSIX_THREAD_CPUTIME #error "rtems is supposed to have pthread_attr_getcputime" #endif diff --git a/testsuites/psxtests/psxhdrs/sched01.c b/testsuites/psxtests/psxhdrs/sched01.c index 6b92a3cf77..5d9e3f6803 100644 --- a/testsuites/psxtests/psxhdrs/sched01.c +++ b/testsuites/psxtests/psxhdrs/sched01.c @@ -17,7 +17,7 @@ #ifndef _POSIX_PRIORITY_SCHEDULING #error "rtems is supposed to have sched_setparam" #endif - + void test( void ) { pid_t pid; diff --git a/testsuites/psxtests/psxhdrs/sched02.c b/testsuites/psxtests/psxhdrs/sched02.c index da7b668857..6102a30a8a 100644 --- a/testsuites/psxtests/psxhdrs/sched02.c +++ b/testsuites/psxtests/psxhdrs/sched02.c @@ -17,7 +17,7 @@ #ifndef _POSIX_PRIORITY_SCHEDULING #error "rtems is supposed to have sched_getparam" #endif - + void test( void ) { pid_t pid; diff --git a/testsuites/psxtests/psxhdrs/sched03.c b/testsuites/psxtests/psxhdrs/sched03.c index 2e7f5b3d47..1767f807b0 100644 --- a/testsuites/psxtests/psxhdrs/sched03.c +++ b/testsuites/psxtests/psxhdrs/sched03.c @@ -17,7 +17,7 @@ #ifndef _POSIX_PRIORITY_SCHEDULING #error "rtems is supposed to have sched_setscheduler" #endif - + void test( void ) { pid_t pid; diff --git a/testsuites/psxtests/psxhdrs/sched04.c b/testsuites/psxtests/psxhdrs/sched04.c index e5adda719a..674de3dfce 100644 --- a/testsuites/psxtests/psxhdrs/sched04.c +++ b/testsuites/psxtests/psxhdrs/sched04.c @@ -17,7 +17,7 @@ #ifndef _POSIX_PRIORITY_SCHEDULING #error "rtems is supposed to have sched_getscheduler" #endif - + void test( void ) { pid_t pid; diff --git a/testsuites/psxtests/psxhdrs/sched05.c b/testsuites/psxtests/psxhdrs/sched05.c index 1d483866d1..302b23fc52 100644 --- a/testsuites/psxtests/psxhdrs/sched05.c +++ b/testsuites/psxtests/psxhdrs/sched05.c @@ -17,7 +17,7 @@ #ifndef _POSIX_PRIORITY_SCHEDULING #error "rtems is supposed to have sched_yield" #endif - + void test( void ) { int result; diff --git a/testsuites/psxtests/psxhdrs/sched06.c b/testsuites/psxtests/psxhdrs/sched06.c index 7b85230594..a8f7a3197b 100644 --- a/testsuites/psxtests/psxhdrs/sched06.c +++ b/testsuites/psxtests/psxhdrs/sched06.c @@ -17,7 +17,7 @@ #ifndef _POSIX_PRIORITY_SCHEDULING #error "rtems is supposed to have sched_get_priority_max" #endif - + void test( void ) { int policy; diff --git a/testsuites/psxtests/psxhdrs/sched07.c b/testsuites/psxtests/psxhdrs/sched07.c index b00056e2e6..f96b22629a 100644 --- a/testsuites/psxtests/psxhdrs/sched07.c +++ b/testsuites/psxtests/psxhdrs/sched07.c @@ -17,7 +17,7 @@ #ifndef _POSIX_PRIORITY_SCHEDULING #error "rtems is supposed to have sched_get_priority_min" #endif - + void test( void ) { int policy; diff --git a/testsuites/psxtests/psxhdrs/sched08.c b/testsuites/psxtests/psxhdrs/sched08.c index 56f89df3a0..b0eb45b36b 100644 --- a/testsuites/psxtests/psxhdrs/sched08.c +++ b/testsuites/psxtests/psxhdrs/sched08.c @@ -17,7 +17,7 @@ #ifndef _POSIX_PRIORITY_SCHEDULING #error "rtems is supposed to have sched_rr_get_interval" #endif - + void test( void ) { pid_t pid; diff --git a/testsuites/psxtests/psxhdrs/signal01.c b/testsuites/psxtests/psxhdrs/signal01.c index f897b36211..56b7c2644d 100644 --- a/testsuites/psxtests/psxhdrs/signal01.c +++ b/testsuites/psxtests/psxhdrs/signal01.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t signal_set; diff --git a/testsuites/psxtests/psxhdrs/signal02.c b/testsuites/psxtests/psxhdrs/signal02.c index c9e8c0a0d6..66e7620519 100644 --- a/testsuites/psxtests/psxhdrs/signal02.c +++ b/testsuites/psxtests/psxhdrs/signal02.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t signal_set; diff --git a/testsuites/psxtests/psxhdrs/signal03.c b/testsuites/psxtests/psxhdrs/signal03.c index 672dff6761..12808e2b43 100644 --- a/testsuites/psxtests/psxhdrs/signal03.c +++ b/testsuites/psxtests/psxhdrs/signal03.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t signal_set; diff --git a/testsuites/psxtests/psxhdrs/signal04.c b/testsuites/psxtests/psxhdrs/signal04.c index 58c9c54900..9b173822a1 100644 --- a/testsuites/psxtests/psxhdrs/signal04.c +++ b/testsuites/psxtests/psxhdrs/signal04.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t signal_set; diff --git a/testsuites/psxtests/psxhdrs/signal05.c b/testsuites/psxtests/psxhdrs/signal05.c index a6bf097830..f1ddd69d93 100644 --- a/testsuites/psxtests/psxhdrs/signal05.c +++ b/testsuites/psxtests/psxhdrs/signal05.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t signal_set; diff --git a/testsuites/psxtests/psxhdrs/signal06.c b/testsuites/psxtests/psxhdrs/signal06.c index 4ab7bbcdb5..0590404504 100644 --- a/testsuites/psxtests/psxhdrs/signal06.c +++ b/testsuites/psxtests/psxhdrs/signal06.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { int signal_number; diff --git a/testsuites/psxtests/psxhdrs/signal07.c b/testsuites/psxtests/psxhdrs/signal07.c index c40cf71db4..22a03e0cb8 100644 --- a/testsuites/psxtests/psxhdrs/signal07.c +++ b/testsuites/psxtests/psxhdrs/signal07.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_kill" #endif diff --git a/testsuites/psxtests/psxhdrs/signal08.c b/testsuites/psxtests/psxhdrs/signal08.c index 9cb959aea9..623781f64a 100644 --- a/testsuites/psxtests/psxhdrs/signal08.c +++ b/testsuites/psxtests/psxhdrs/signal08.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + #ifndef _POSIX_THREADS #error "rtems is supposed to have pthread_sigmask" #endif diff --git a/testsuites/psxtests/psxhdrs/signal09.c b/testsuites/psxtests/psxhdrs/signal09.c index 902fb519cd..79ee9c852c 100644 --- a/testsuites/psxtests/psxhdrs/signal09.c +++ b/testsuites/psxtests/psxhdrs/signal09.c @@ -14,13 +14,13 @@ #include <sys/types.h> #include <signal.h> - + void test( void ) { pid_t pid; int signal_number; int result; - + pid = 0; signal_number = SIGALRM; diff --git a/testsuites/psxtests/psxhdrs/signal10.c b/testsuites/psxtests/psxhdrs/signal10.c index a366e74650..5a215c6366 100644 --- a/testsuites/psxtests/psxhdrs/signal10.c +++ b/testsuites/psxtests/psxhdrs/signal10.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t set; diff --git a/testsuites/psxtests/psxhdrs/signal11.c b/testsuites/psxtests/psxhdrs/signal11.c index 3afc6347e8..18c1dee813 100644 --- a/testsuites/psxtests/psxhdrs/signal11.c +++ b/testsuites/psxtests/psxhdrs/signal11.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { int signal_number; diff --git a/testsuites/psxtests/psxhdrs/signal12.c b/testsuites/psxtests/psxhdrs/signal12.c index 8533359b17..25382ae82d 100644 --- a/testsuites/psxtests/psxhdrs/signal12.c +++ b/testsuites/psxtests/psxhdrs/signal12.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { void (*signal_function_pointer)(); diff --git a/testsuites/psxtests/psxhdrs/signal13.c b/testsuites/psxtests/psxhdrs/signal13.c index 89f8f4586d..54a366b718 100644 --- a/testsuites/psxtests/psxhdrs/signal13.c +++ b/testsuites/psxtests/psxhdrs/signal13.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { int how; diff --git a/testsuites/psxtests/psxhdrs/signal14.c b/testsuites/psxtests/psxhdrs/signal14.c index 8f40b0c489..5384fb2a36 100644 --- a/testsuites/psxtests/psxhdrs/signal14.c +++ b/testsuites/psxtests/psxhdrs/signal14.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t set; diff --git a/testsuites/psxtests/psxhdrs/signal15.c b/testsuites/psxtests/psxhdrs/signal15.c index 365dc97030..db38af651e 100644 --- a/testsuites/psxtests/psxhdrs/signal15.c +++ b/testsuites/psxtests/psxhdrs/signal15.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t sigmask; diff --git a/testsuites/psxtests/psxhdrs/signal16.c b/testsuites/psxtests/psxhdrs/signal16.c index 90b159b02d..acaadeae48 100644 --- a/testsuites/psxtests/psxhdrs/signal16.c +++ b/testsuites/psxtests/psxhdrs/signal16.c @@ -17,7 +17,7 @@ #ifndef _POSIX_THREADS #define "rtems is supposed to have pthread_sigmask" #endif - + void test( void ) { int how; diff --git a/testsuites/psxtests/psxhdrs/signal17.c b/testsuites/psxtests/psxhdrs/signal17.c index fe367d0d88..99200d5dcd 100644 --- a/testsuites/psxtests/psxhdrs/signal17.c +++ b/testsuites/psxtests/psxhdrs/signal17.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t set; diff --git a/testsuites/psxtests/psxhdrs/signal18.c b/testsuites/psxtests/psxhdrs/signal18.c index 69cd84b52a..11d260c293 100644 --- a/testsuites/psxtests/psxhdrs/signal18.c +++ b/testsuites/psxtests/psxhdrs/signal18.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t set; diff --git a/testsuites/psxtests/psxhdrs/signal19.c b/testsuites/psxtests/psxhdrs/signal19.c index fdc0558417..732dd3c20e 100644 --- a/testsuites/psxtests/psxhdrs/signal19.c +++ b/testsuites/psxtests/psxhdrs/signal19.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { sigset_t set; diff --git a/testsuites/psxtests/psxhdrs/signal20.c b/testsuites/psxtests/psxhdrs/signal20.c index 639738e1c6..7529657c14 100644 --- a/testsuites/psxtests/psxhdrs/signal20.c +++ b/testsuites/psxtests/psxhdrs/signal20.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { unsigned int seconds; diff --git a/testsuites/psxtests/psxhdrs/signal21.c b/testsuites/psxtests/psxhdrs/signal21.c index c981ab217c..ba230fdce0 100644 --- a/testsuites/psxtests/psxhdrs/signal21.c +++ b/testsuites/psxtests/psxhdrs/signal21.c @@ -13,7 +13,7 @@ */ #include <signal.h> - + void test( void ) { int result; diff --git a/testsuites/psxtests/psxhdrs/signal22.c b/testsuites/psxtests/psxhdrs/signal22.c index 547faa51a7..3e8697167b 100644 --- a/testsuites/psxtests/psxhdrs/signal22.c +++ b/testsuites/psxtests/psxhdrs/signal22.c @@ -13,7 +13,7 @@ */ #include <unistd.h> - + void test( void ) { unsigned int seconds; diff --git a/testsuites/psxtests/psxhdrs/signal23.c b/testsuites/psxtests/psxhdrs/signal23.c index 4a6af9b6cd..4d7a4ca157 100644 --- a/testsuites/psxtests/psxhdrs/signal23.c +++ b/testsuites/psxtests/psxhdrs/signal23.c @@ -13,14 +13,14 @@ */ #include <signal.h> - + useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); void test( void ) { useconds_t useconds; useconds_t interval; useconds_t result; - + useconds = 10; interval = 10; diff --git a/testsuites/psxtests/psxhdrs/sync01.c b/testsuites/psxtests/psxhdrs/sync01.c index 7ebb18509c..3949a758dc 100644 --- a/testsuites/psxtests/psxhdrs/sync01.c +++ b/testsuites/psxtests/psxhdrs/sync01.c @@ -13,7 +13,7 @@ */ #include <unistd.h> - + void test( void ) { int fd; diff --git a/testsuites/psxtests/psxhdrs/sync02.c b/testsuites/psxtests/psxhdrs/sync02.c index 425feb10fd..300eeca783 100644 --- a/testsuites/psxtests/psxhdrs/sync02.c +++ b/testsuites/psxtests/psxhdrs/sync02.c @@ -13,7 +13,7 @@ */ #include <unistd.h> - + void test( void ) { int fd; diff --git a/testsuites/psxtests/psxhdrs/sync03.c b/testsuites/psxtests/psxhdrs/sync03.c index 44564c0715..467d1af6ea 100644 --- a/testsuites/psxtests/psxhdrs/sync03.c +++ b/testsuites/psxtests/psxhdrs/sync03.c @@ -13,7 +13,7 @@ */ #include <unistd.h> - + void test( void ) { sync(); diff --git a/testsuites/psxtests/psxhdrs/time01.c b/testsuites/psxtests/psxhdrs/time01.c index 3e77c3f405..a4ab5b0296 100644 --- a/testsuites/psxtests/psxhdrs/time01.c +++ b/testsuites/psxtests/psxhdrs/time01.c @@ -13,7 +13,7 @@ */ #include <time.h> - + void test( void ) { clock_t clock_ticks; diff --git a/testsuites/psxtests/psxhdrs/time02.c b/testsuites/psxtests/psxhdrs/time02.c index 4065559845..e1afdb1d01 100644 --- a/testsuites/psxtests/psxhdrs/time02.c +++ b/testsuites/psxtests/psxhdrs/time02.c @@ -13,7 +13,7 @@ */ #include <time.h> - + void test( void ) { time_t time1; diff --git a/testsuites/psxtests/psxhdrs/time03.c b/testsuites/psxtests/psxhdrs/time03.c index 329dfe89ec..f3634cbcd2 100644 --- a/testsuites/psxtests/psxhdrs/time03.c +++ b/testsuites/psxtests/psxhdrs/time03.c @@ -13,7 +13,7 @@ */ #include <time.h> - + void test( void ) { struct tm timestruct; diff --git a/testsuites/psxtests/psxhdrs/time04.c b/testsuites/psxtests/psxhdrs/time04.c index 2ff1b4f145..43eb9c2eec 100644 --- a/testsuites/psxtests/psxhdrs/time04.c +++ b/testsuites/psxtests/psxhdrs/time04.c @@ -13,7 +13,7 @@ */ #include <time.h> - + void test( void ) { time_t new_time; diff --git a/testsuites/psxtests/psxhdrs/time05.c b/testsuites/psxtests/psxhdrs/time05.c index b8e492a0e9..65de89c203 100644 --- a/testsuites/psxtests/psxhdrs/time05.c +++ b/testsuites/psxtests/psxhdrs/time05.c @@ -13,14 +13,14 @@ */ #include <time.h> - + void test( void ) { size_t length; size_t max_length; char buffer[ 80 ]; struct tm timestruct; - + max_length = sizeof( buffer ); length = strftime( buffer, max_length, "%A", ×truct ); diff --git a/testsuites/psxtests/psxhdrs/time06.c b/testsuites/psxtests/psxhdrs/time06.c index 42fdadc394..05066f9669 100644 --- a/testsuites/psxtests/psxhdrs/time06.c +++ b/testsuites/psxtests/psxhdrs/time06.c @@ -13,11 +13,11 @@ */ #include <time.h> - + void test( void ) { char *buffer; struct tm timestruct; - + buffer = asctime( ×truct ); } diff --git a/testsuites/psxtests/psxhdrs/time07.c b/testsuites/psxtests/psxhdrs/time07.c index 9928ae9a9d..43e1d87e1a 100644 --- a/testsuites/psxtests/psxhdrs/time07.c +++ b/testsuites/psxtests/psxhdrs/time07.c @@ -13,11 +13,11 @@ */ #include <time.h> - + void test( void ) { char *buffer; time_t time; - + buffer = ctime( &time ); } diff --git a/testsuites/psxtests/psxhdrs/time08.c b/testsuites/psxtests/psxhdrs/time08.c index 62daec0726..0016f03343 100644 --- a/testsuites/psxtests/psxhdrs/time08.c +++ b/testsuites/psxtests/psxhdrs/time08.c @@ -13,11 +13,11 @@ */ #include <time.h> - + void test( void ) { time_t time; struct tm *timestruct; - + timestruct = gmtime( &time ); } diff --git a/testsuites/psxtests/psxhdrs/time09.c b/testsuites/psxtests/psxhdrs/time09.c index c0377dd873..59d97af024 100644 --- a/testsuites/psxtests/psxhdrs/time09.c +++ b/testsuites/psxtests/psxhdrs/time09.c @@ -13,11 +13,11 @@ */ #include <time.h> - + void test( void ) { time_t time; struct tm *timestruct; - + timestruct = localtime( &time ); } diff --git a/testsuites/psxtests/psxhdrs/time10.c b/testsuites/psxtests/psxhdrs/time10.c index 75325851dd..f4b5edf41c 100644 --- a/testsuites/psxtests/psxhdrs/time10.c +++ b/testsuites/psxtests/psxhdrs/time10.c @@ -13,12 +13,12 @@ */ #include <time.h> - + void test( void ) { char *buffer_pointer; struct tm timestruct; char buffer[ 80 ]; - + buffer_pointer = asctime_r( ×truct, buffer ); } diff --git a/testsuites/psxtests/psxhdrs/time11.c b/testsuites/psxtests/psxhdrs/time11.c index 575e662568..f4c83add22 100644 --- a/testsuites/psxtests/psxhdrs/time11.c +++ b/testsuites/psxtests/psxhdrs/time11.c @@ -13,12 +13,12 @@ */ #include <time.h> - + void test( void ) { char *buffer_pointer; char buffer[ 80 ]; time_t time; - + buffer_pointer = ctime_r( &time, buffer ); } diff --git a/testsuites/psxtests/psxhdrs/time12.c b/testsuites/psxtests/psxhdrs/time12.c index 26683b5c5a..8377b2b343 100644 --- a/testsuites/psxtests/psxhdrs/time12.c +++ b/testsuites/psxtests/psxhdrs/time12.c @@ -13,12 +13,12 @@ */ #include <time.h> - + void test( void ) { time_t time; struct tm *timestruct_pointer; struct tm timestruct; - + timestruct_pointer = gmtime_r( &time, ×truct ); } diff --git a/testsuites/psxtests/psxhdrs/time13.c b/testsuites/psxtests/psxhdrs/time13.c index e571e24f68..365291dc06 100644 --- a/testsuites/psxtests/psxhdrs/time13.c +++ b/testsuites/psxtests/psxhdrs/time13.c @@ -13,12 +13,12 @@ */ #include <time.h> - + void test( void ) { time_t time; struct tm *timestruct_pointer; struct tm timestruct; - + timestruct_pointer = localtime_r( &time, ×truct ); } diff --git a/testsuites/psxtests/psxhdrs/timer01.c b/testsuites/psxtests/psxhdrs/timer01.c index 8f71a30055..eb58d5b735 100644 --- a/testsuites/psxtests/psxhdrs/timer01.c +++ b/testsuites/psxtests/psxhdrs/timer01.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_TIMERS #error "rtems is supposed to have timer_create" #endif @@ -31,6 +31,6 @@ void test( void ) evp.sigev_signo = SIGALRM; evp.sigev_value.sival_int = 0; evp.sigev_value.sival_ptr = NULL; - + result = timer_create( clock_id, &evp, &timerid ); } diff --git a/testsuites/psxtests/psxhdrs/timer02.c b/testsuites/psxtests/psxhdrs/timer02.c index 5949300b52..cf25f6476f 100644 --- a/testsuites/psxtests/psxhdrs/timer02.c +++ b/testsuites/psxtests/psxhdrs/timer02.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_TIMERS #error "rtems is supposed to have timer_delete" #endif @@ -22,6 +22,6 @@ void test( void ) { timer_t timerid = 0; int result; - + result = timer_delete( timerid ); } diff --git a/testsuites/psxtests/psxhdrs/timer03.c b/testsuites/psxtests/psxhdrs/timer03.c index f30bb3047d..6460a48c10 100644 --- a/testsuites/psxtests/psxhdrs/timer03.c +++ b/testsuites/psxtests/psxhdrs/timer03.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_TIMERS #error "rtems is supposed to have timer_settime" #endif diff --git a/testsuites/psxtests/psxhdrs/timer04.c b/testsuites/psxtests/psxhdrs/timer04.c index 7de072d58c..45a60fb70c 100644 --- a/testsuites/psxtests/psxhdrs/timer04.c +++ b/testsuites/psxtests/psxhdrs/timer04.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_TIMERS #error "rtems is supposed to have timer_gettime" #endif diff --git a/testsuites/psxtests/psxhdrs/timer05.c b/testsuites/psxtests/psxhdrs/timer05.c index 71f5a7a211..7da6c48794 100644 --- a/testsuites/psxtests/psxhdrs/timer05.c +++ b/testsuites/psxtests/psxhdrs/timer05.c @@ -13,7 +13,7 @@ */ #include <time.h> - + #ifndef _POSIX_TIMERS #error "rtems is supposed to have timer_getoverrun" #endif diff --git a/testsuites/psxtests/psxhdrs/timer06.c b/testsuites/psxtests/psxhdrs/timer06.c index 833aece2c9..f2ef8fd4af 100644 --- a/testsuites/psxtests/psxhdrs/timer06.c +++ b/testsuites/psxtests/psxhdrs/timer06.c @@ -13,15 +13,15 @@ */ #include <time.h> - + #ifndef _POSIX_TIMERS #error "rtems is supposed to have nanosleep" #endif void test( void ) { - struct timespec rqtp; - struct timespec rmtp; + struct timespec rqtp; + struct timespec rmtp; int result; rqtp.tv_sec = 0; diff --git a/testsuites/psxtests/psxhdrs/timer07.c b/testsuites/psxtests/psxhdrs/timer07.c index 47016934e9..bcb6b394fe 100644 --- a/testsuites/psxtests/psxhdrs/timer07.c +++ b/testsuites/psxtests/psxhdrs/timer07.c @@ -13,10 +13,10 @@ */ #include <unistd.h> - + void test( void ) { - unsigned long usec; + unsigned long usec; unsigned result; usec = 0; |