Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress include cleanup in regress.



details:   https://anonhg.NetBSD.org/src/rev/bcdbf260ef9d
branches:  trunk
changeset: 494171:bcdbf260ef9d
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jul 03 04:02:34 2000 +0000

description:
include cleanup in regress.

diffstat:

 regress/lib/libc/regex/main.c            |  3 ++-
 regress/lib/libc/setjmp/jmptest.c        |  3 ++-
 regress/lib/libposix/prn.c               |  1 +
 regress/sys/kern/execve/tests/goodaout.c |  4 ++--
 regress/sys/kern/extent/extest.awk       |  3 ++-
 5 files changed, 9 insertions(+), 5 deletions(-)

diffs (73 lines):

diff -r ab29493bcc7b -r bcdbf260ef9d regress/lib/libc/regex/main.c
--- a/regress/lib/libc/regex/main.c     Mon Jul 03 03:57:39 2000 +0000
+++ b/regress/lib/libc/regex/main.c     Mon Jul 03 04:02:34 2000 +0000
@@ -1,6 +1,7 @@
-/*     $NetBSD: main.c,v 1.3 1997/11/01 06:20:49 lukem Exp $   */
+/*     $NetBSD: main.c,v 1.4 2000/07/03 04:02:34 matt Exp $    */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
 #include <regex.h>
diff -r ab29493bcc7b -r bcdbf260ef9d regress/lib/libc/setjmp/jmptest.c
--- a/regress/lib/libc/setjmp/jmptest.c Mon Jul 03 03:57:39 2000 +0000
+++ b/regress/lib/libc/setjmp/jmptest.c Mon Jul 03 04:02:34 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jmptest.c,v 1.5 2000/06/14 17:25:21 cgd Exp $ */
+/* $NetBSD: jmptest.c,v 1.6 2000/07/03 04:02:35 matt Exp $ */
 
 /*
  * Copyright (c) 1994 Christopher G. Demetriou
@@ -39,6 +39,7 @@
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
 #if (TEST_SETJMP + TEST_U_SETJMP + TEST_SIGSETJMP) != 1
diff -r ab29493bcc7b -r bcdbf260ef9d regress/lib/libposix/prn.c
--- a/regress/lib/libposix/prn.c        Mon Jul 03 03:57:39 2000 +0000
+++ b/regress/lib/libposix/prn.c        Mon Jul 03 04:02:34 2000 +0000
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <errno.h>
 #include <unistd.h>
 #include <fcntl.h>
diff -r ab29493bcc7b -r bcdbf260ef9d regress/sys/kern/execve/tests/goodaout.c
--- a/regress/sys/kern/execve/tests/goodaout.c  Mon Jul 03 03:57:39 2000 +0000
+++ b/regress/sys/kern/execve/tests/goodaout.c  Mon Jul 03 04:02:34 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: goodaout.c,v 1.5 2000/06/14 17:25:22 cgd Exp $ */
+/* $NetBSD: goodaout.c,v 1.6 2000/07/03 04:02:35 matt Exp $ */
 
 /*
  * Copyright (c) 1993 Christopher G. Demetriou
@@ -35,7 +35,7 @@
  */
 
 #include <stdio.h>
-#include <unistd.h>
+#include <stdlib.h>
 
 int
 main(argc, argv)
diff -r ab29493bcc7b -r bcdbf260ef9d regress/sys/kern/extent/extest.awk
--- a/regress/sys/kern/extent/extest.awk        Mon Jul 03 03:57:39 2000 +0000
+++ b/regress/sys/kern/extent/extest.awk        Mon Jul 03 04:02:34 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: extest.awk,v 1.4 2000/06/16 18:50:45 drochner Exp $
+# $NetBSD: extest.awk,v 1.5 2000/07/03 04:02:36 matt Exp $
 
 BEGIN {
        first = 1;
@@ -6,6 +6,7 @@
        printf("#include <sys/types.h>\n")
        printf("#include <sys/extent.h>\n\n")
        printf("#include <stdio.h>\n")
+       printf("#include <stdlib.h>\n")
        printf("#include <string.h>\n")
        printf("int main(void) {\n")
        printf("struct extent *ex; int error; long result;\n")



Home | Main Index | Thread Index | Old Index