diff options
author | Andreas Jaeger <aj@suse.de> | 2000-06-21 12:39:22 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-06-21 12:39:22 +0000 |
commit | 3e1f480ef8b2597264f9553041fef860d749c5d9 (patch) | |
tree | 81e6e7d7148cf2365b63216afcace11796c9643a | |
parent | ae0d72a53c42dec333fd9c0c136722af49d433b3 (diff) | |
download | glibc-3e1f480ef8b2597264f9553041fef860d749c5d9.zip glibc-3e1f480ef8b2597264f9553041fef860d749c5d9.tar.gz glibc-3e1f480ef8b2597264f9553041fef860d749c5d9.tar.bz2 |
* tst-trans.c: Include <stdlib.h> and <string.h>.
2000-06-21 Andreas Jaeger <aj@suse.de>
* tst-trans.c: Include <stdlib.h> and <string.h>.
-rw-r--r-- | crypt/cert.c | 1 | ||||
-rw-r--r-- | io/test-utime.c | 3 | ||||
-rw-r--r-- | libio/tst_swscanf.c | 1 | ||||
-rw-r--r-- | libio/tst_wscanf.c | 1 | ||||
-rw-r--r-- | localedata/ChangeLog | 4 | ||||
-rw-r--r-- | localedata/tst-trans.c | 2 | ||||
-rw-r--r-- | misc/tst-efgcvt.c | 3 | ||||
-rw-r--r-- | nss/test-netdb.c | 6 | ||||
-rw-r--r-- | posix/globtest.c | 1 | ||||
-rw-r--r-- | posix/runtests.c | 1 | ||||
-rw-r--r-- | posix/test-vfork.c | 1 | ||||
-rw-r--r-- | posix/tst-getaddrinfo.c | 1 | ||||
-rw-r--r-- | posix/wordexp-test.c | 3 | ||||
-rw-r--r-- | stdio-common/scanf4.c | 1 | ||||
-rw-r--r-- | stdio-common/scanf5.c | 1 | ||||
-rw-r--r-- | stdio-common/temptest.c | 1 | ||||
-rw-r--r-- | stdio-common/tst-fileno.c | 3 | ||||
-rw-r--r-- | stdio-common/tst-printfsz.c | 1 | ||||
-rw-r--r-- | stdlib/tst-xpg-basename.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/configure | 9 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/configure.in | 3 | ||||
-rw-r--r-- | time/clocktest.c | 1 | ||||
-rw-r--r-- | wctype/test_wcfuncs.c | 3 |
23 files changed, 44 insertions, 11 deletions
diff --git a/crypt/cert.c b/crypt/cert.c index 49896be..34d7e41 100644 --- a/crypt/cert.c +++ b/crypt/cert.c @@ -7,6 +7,7 @@ */ #include <stdio.h> +#include <stdlib.h> #include "crypt.h" int totfails = 0; diff --git a/io/test-utime.c b/io/test-utime.c index 5f31792..32e14bd 100644 --- a/io/test-utime.c +++ b/io/test-utime.c @@ -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> diff --git a/libio/tst_swscanf.c b/libio/tst_swscanf.c index ce56144..59e5324 100644 --- a/libio/tst_swscanf.c +++ b/libio/tst_swscanf.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <string.h> #include <wchar.h> int diff --git a/libio/tst_wscanf.c b/libio/tst_wscanf.c index 719f3786..97bc518 100644 --- a/libio/tst_wscanf.c +++ b/libio/tst_wscanf.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <string.h> #include <wchar.h> int diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 4d8d654..f2ad56d 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -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. diff --git a/localedata/tst-trans.c b/localedata/tst-trans.c index a84ee20..7b06423 100644 --- a/localedata/tst-trans.c +++ b/localedata/tst-trans.c @@ -20,6 +20,8 @@ #include <locale.h> #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <wchar.h> #include <wctype.h> diff --git a/misc/tst-efgcvt.c b/misc/tst-efgcvt.c index 7765087..6eaa8be 100644 --- a/misc/tst-efgcvt.c +++ b/misc/tst-efgcvt.c @@ -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; diff --git a/nss/test-netdb.c b/nss/test-netdb.c index 01056a6..afce958 100644 --- a/nss/test-netdb.c +++ b/nss/test-netdb.c @@ -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> diff --git a/posix/globtest.c b/posix/globtest.c index 90b9eb6..2314594 100644 --- a/posix/globtest.c +++ b/posix/globtest.c @@ -18,6 +18,7 @@ #include <getopt.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <glob.h> diff --git a/posix/runtests.c b/posix/runtests.c index 8347286..2e823fb 100644 --- a/posix/runtests.c +++ b/posix/runtests.c @@ -28,6 +28,7 @@ PERFORMANCE OF THIS SOFTWARE. #include <regex.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> diff --git a/posix/test-vfork.c b/posix/test-vfork.c index 2abeb5a..66c17c3 100644 --- a/posix/test-vfork.c +++ b/posix/test-vfork.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <error.h> #include <errno.h> diff --git a/posix/tst-getaddrinfo.c b/posix/tst-getaddrinfo.c index f954506..a37a8d6 100644 --- a/posix/tst-getaddrinfo.c +++ b/posix/tst-getaddrinfo.c @@ -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> diff --git a/posix/wordexp-test.c b/posix/wordexp-test.c index 69cfbb1..79e094c 100644 --- a/posix/wordexp-test.c +++ b/posix/wordexp-test.c @@ -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" diff --git a/stdio-common/scanf4.c b/stdio-common/scanf4.c index 177b2ec..f9a9134 100644 --- a/stdio-common/scanf4.c +++ b/stdio-common/scanf4.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdlib.h> int main(int arc, char *argv[]) diff --git a/stdio-common/scanf5.c b/stdio-common/scanf5.c index bbbb774..fb4acfa 100644 --- a/stdio-common/scanf5.c +++ b/stdio-common/scanf5.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdlib.h> int main(int argc, char *argv[]) diff --git a/stdio-common/temptest.c b/stdio-common/temptest.c index 35ea4dc..ec8e179 100644 --- a/stdio-common/temptest.c +++ b/stdio-common/temptest.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdlib.h> #include <string.h> char *files[500]; diff --git a/stdio-common/tst-fileno.c b/stdio-common/tst-fileno.c index 0b47c0f..79c768d 100644 --- a/stdio-common/tst-fileno.c +++ b/stdio-common/tst-fileno.c @@ -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 diff --git a/stdio-common/tst-printfsz.c b/stdio-common/tst-printfsz.c index fed829c..5925050 100644 --- a/stdio-common/tst-printfsz.c +++ b/stdio-common/tst-printfsz.c @@ -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 diff --git a/stdlib/tst-xpg-basename.c b/stdlib/tst-xpg-basename.c index 933b71c..12067e7 100644 --- a/stdlib/tst-xpg-basename.c +++ b/stdlib/tst-xpg-basename.c @@ -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 { diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure index 1a3d18c..c1d811d 100644 --- a/sysdeps/unix/sysv/linux/configure +++ b/sysdeps/unix/sysv/linux/configure @@ -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 diff --git a/sysdeps/unix/sysv/linux/configure.in b/sysdeps/unix/sysv/linux/configure.in index d379421..05b58e9 100644 --- a/sysdeps/unix/sysv/linux/configure.in +++ b/sysdeps/unix/sysv/linux/configure.in @@ -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 ;; diff --git a/time/clocktest.c b/time/clocktest.c index 65cd938..d46c59b 100644 --- a/time/clocktest.c +++ b/time/clocktest.c @@ -1,5 +1,6 @@ #include <signal.h> #include <stdio.h> +#include <stdlib.h> #include <time.h> #include <unistd.h> diff --git a/wctype/test_wcfuncs.c b/wctype/test_wcfuncs.c index 7ced68b..61328ea 100644 --- a/wctype/test_wcfuncs.c +++ b/wctype/test_wcfuncs.c @@ -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 |