From a0f9833ef7bf9dafa258ac30329223b5d1022965 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 19 Nov 2002 07:04:01 +0000 Subject: Silence some whining --- test/stdlib/ptytest.c | 1 + test/stdlib/testatexit.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'test') 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 #include #include 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; } -- cgit v1.2.3