Browse Source

Silence some whining

Eric Andersen 21 years ago
parent
commit
a0f9833ef7
2 changed files with 3 additions and 1 deletions
  1. 1 0
      test/stdlib/ptytest.c
  2. 2 1
      test/stdlib/testatexit.c

+ 1 - 0
test/stdlib/ptytest.c

@@ -1,3 +1,4 @@
+#define _XOPEN_SOURCE
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>

+ 2 - 1
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;
 }