diff options
Diffstat (limited to 'testcases/open_posix_testsuite/conformance/interfaces/nanosleep')
5 files changed, 5 insertions, 5 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/1-3.c b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/1-3.c index 118945202..9f227f966 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/1-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/1-3.c @@ -16,7 +16,7 @@ #include <sys/wait.h> #include "posixtest.h" -void handler(int signo) +void handler(int signo LTP_ATTRIBUTE_UNUSED) { printf("In handler\n"); } diff --git a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/3-1.c index 651e66f66..7f4e4a86e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/3-1.c @@ -22,7 +22,7 @@ #define CHILDSUCCESS 1 #define CHILDFAIL 0 -void handler(int signo) +void handler(int signo LTP_ATTRIBUTE_UNUSED) { printf("Received signal - exit success\n"); exit(CHILDSUCCESS); diff --git a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/5-2.c b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/5-2.c index 52ca89a40..ac3c3c7f1 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/5-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/5-2.c @@ -19,7 +19,7 @@ #define CHILDSUCCESS 1 #define CHILDFAILURE 0 -void handler(int signo) +void handler(int signo LTP_ATTRIBUTE_UNUSED) { printf("In handler\n"); } diff --git a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/7-1.c index f2686832e..17a49081f 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/7-1.c @@ -20,7 +20,7 @@ #define CHILDSUCCESS 1 #define CHILDFAILURE 0 -void handler(int signo) +void handler(int signo LTP_ATTRIBUTE_UNUSED) { printf("In handler\n"); } diff --git a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/7-2.c b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/7-2.c index 34ff02c17..8e761be47 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/7-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/7-2.c @@ -22,7 +22,7 @@ #define OKDELTA 1 -void handler(int signo) +void handler(int signo LTP_ATTRIBUTE_UNUSED) { printf("In handler\n"); } |