summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/POSIX/nanosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/POSIX/nanosleep.c')
-rw-r--r--testsuites/libtests/POSIX/nanosleep.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuites/libtests/POSIX/nanosleep.c b/testsuites/libtests/POSIX/nanosleep.c
index 359ce76d58..0e698f248f 100644
--- a/testsuites/libtests/POSIX/nanosleep.c
+++ b/testsuites/libtests/POSIX/nanosleep.c
@@ -12,14 +12,13 @@
#include <time.h>
-int
-main (void)
+int main(void)
{
struct timespec req = { 0, 42 };
struct timespec rem;
int status;
- status = nanosleep (&req, &rem);
+ status = nanosleep(&req, &rem);
- return 0;
+ return status;
}