* tst-trans.c: Include <stdlib.h> and <string.h>.
authorAndreas Jaeger <aj@suse.de>
Wed, 21 Jun 2000 12:39:22 +0000 (12:39 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 21 Jun 2000 12:39:22 +0000 (12:39 +0000)
2000-06-21  Andreas Jaeger  <aj@suse.de>

* tst-trans.c: Include <stdlib.h> and <string.h>.

23 files changed:
crypt/cert.c
io/test-utime.c
libio/tst_swscanf.c
libio/tst_wscanf.c
localedata/ChangeLog
localedata/tst-trans.c
misc/tst-efgcvt.c
nss/test-netdb.c
posix/globtest.c
posix/runtests.c
posix/test-vfork.c
posix/tst-getaddrinfo.c
posix/wordexp-test.c
stdio-common/scanf4.c
stdio-common/scanf5.c
stdio-common/temptest.c
stdio-common/tst-fileno.c
stdio-common/tst-printfsz.c
stdlib/tst-xpg-basename.c
sysdeps/unix/sysv/linux/configure
sysdeps/unix/sysv/linux/configure.in
time/clocktest.c
wctype/test_wcfuncs.c

index 49896be..34d7e41 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include "crypt.h"
 
 int totfails = 0;
index 5f31792..32e14bd 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1996, 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -18,6 +18,7 @@
 
 #include <fcntl.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <sys/stat.h>
 #include <unistd.h>
 #include <utime.h>
index ce56144..59e5324 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <string.h>
 #include <wchar.h>
 
 int
index 719f378..97bc518 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <string.h>
 #include <wchar.h>
 
 int
index 4d8d654..f2ad56d 100644 (file)
@@ -1,3 +1,7 @@
+2000-06-21  Andreas Jaeger  <aj@suse.de>
+
+       * tst-trans.c: Include <stdlib.h> and <string.h>.
+
 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
 
        * locales/pt_BR: Correct day and month names.
index a84ee20..7b06423 100644 (file)
@@ -20,6 +20,8 @@
 
 #include <locale.h>
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <wchar.h>
 #include <wctype.h>
 
index 7765087..6eaa8be 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,7 @@
 #include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 int error_count;
 
index 01056a6..afce958 100644 (file)
@@ -1,6 +1,6 @@
-/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
+   Contributed by Andreas Jaeger <aj@suse.de>, 1998.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public License as
@@ -33,6 +33,8 @@
 #include <netdb.h>
 #include <rpc/netdb.h>
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
 #include <sys/param.h>
index 90b9eb6..2314594 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <getopt.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <glob.h>
 
index 8347286..2e823fb 100644 (file)
@@ -28,6 +28,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include <regex.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 \f
 
index 2abeb5a..66c17c3 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <error.h>
 #include <errno.h>
index f954506..a37a8d6 100644 (file)
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdio.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
index 69cfbb1..79e094c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,7 @@
 #include <pwd.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <wordexp.h>
 
 #define IFS " \n\t"
index 177b2ec..f9a9134 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 
 int
 main(int arc, char *argv[])
index bbbb774..fb4acfa 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 
 int
 main(int argc, char *argv[])
index 35ea4dc..ec8e179 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 char *files[500];
index 0b47c0f..79c768d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 static int
index fed829c..5925050 100644 (file)
@@ -1,6 +1,7 @@
 /* Based on code by Larry McVoy <lm@neteng.engr.sgi.com>.  */
 #include <printf.h>
 #include <stdio.h>
+#include <string.h>
 
 #define V       12345678.12345678
 
index 933b71c..12067e7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@suse.de>, 1999.
 
@@ -19,6 +19,8 @@
 
 #include <libgen.h>
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 static struct
 {
index 1a3d18c..c1d811d 100644 (file)
@@ -52,6 +52,9 @@ fi
 # kernel headers are young enough.  Additionally we have minimal
 # kernel versions for some architectures.
 case "$machine" in
+  mips*)
+    arch_minimum_kernel=2.2.15
+    ;;
   sh*)
     arch_minimum_kernel=2.3.99
     ;;
@@ -79,10 +82,10 @@ fi
 
 if test -n "$minimum_kernel"; then
   echo $ac_n "checking for kernel header at least $minimum_kernel""... $ac_c" 1>&6
-echo "configure:83: checking for kernel header at least $minimum_kernel" >&5
+echo "configure:86: checking for kernel header at least $minimum_kernel" >&5
   decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`;
   cat > conftest.$ac_ext <<EOF
-#line 86 "configure"
+#line 89 "configure"
 #include "confdefs.h"
 #include <linux/version.h>
 #if LINUX_VERSION_CODE < $decnum
@@ -194,7 +197,7 @@ if test $host = $build; then
     ac_prefix=$ac_default_prefix
   fi
   echo $ac_n "checking for symlinks in ${ac_prefix}/include""... $ac_c" 1>&6
-echo "configure:198: checking for symlinks in ${ac_prefix}/include" >&5
+echo "configure:201: checking for symlinks in ${ac_prefix}/include" >&5
   ac_message=
   if test -L ${ac_prefix}/include/net; then
     ac_message="$ac_message
index d379421..05b58e9 100644 (file)
@@ -39,6 +39,9 @@ fi
 # kernel headers are young enough.  Additionally we have minimal
 # kernel versions for some architectures.
 case "$machine" in
+  mips*)
+    arch_minimum_kernel=2.2.15
+    ;;
   sh*)
     arch_minimum_kernel=2.3.99
     ;;
index 65cd938..d46c59b 100644 (file)
@@ -1,5 +1,6 @@
 #include <signal.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <time.h>
 #include <unistd.h>
 
index 7ced68b..61328ea 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <wctype.h>
 
 int