diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/stdlib/ptytest.c | 1 | ||||
-rw-r--r-- | test/stdlib/testatexit.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/stdlib/ptytest.c b/test/stdlib/ptytest.c index e85072e76..dd531b416 100644 --- a/test/stdlib/ptytest.c +++ b/test/stdlib/ptytest.c @@ -1,3 +1,4 @@ +#define _XOPEN_SOURCE #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> diff --git a/test/stdlib/testatexit.c b/test/stdlib/testatexit.c index 374f7b8aa..3d4856df3 100644 --- a/test/stdlib/testatexit.c +++ b/test/stdlib/testatexit.c @@ -69,6 +69,7 @@ main ( void ) i = (i+1) % numfuncs; } printf("%d functions registered with atexit.\n", count); - /* implicit exit */ + + return 0; } |