Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* 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>.
  • Loading branch information
Andreas Jaeger committed Jun 21, 2000
1 parent ae0d72a commit 3e1f480
Show file tree
Hide file tree
Showing 23 changed files with 44 additions and 11 deletions.
1 change: 1 addition & 0 deletions crypt/cert.c
Expand Up @@ -7,6 +7,7 @@
*/

#include <stdio.h>
#include <stdlib.h>
#include "crypt.h"

int totfails = 0;
Expand Down
3 changes: 2 additions & 1 deletion 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
Expand All @@ -18,6 +18,7 @@

#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#include <utime.h>
Expand Down
1 change: 1 addition & 0 deletions libio/tst_swscanf.c
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <string.h>
#include <wchar.h>

int
Expand Down
1 change: 1 addition & 0 deletions libio/tst_wscanf.c
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <string.h>
#include <wchar.h>

int
Expand Down
4 changes: 4 additions & 0 deletions 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.
Expand Down
2 changes: 2 additions & 0 deletions localedata/tst-trans.c
Expand Up @@ -20,6 +20,8 @@

#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
#include <wctype.h>

Expand Down
3 changes: 2 additions & 1 deletion 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
Expand All @@ -23,6 +23,7 @@
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int error_count;

Expand Down
6 changes: 4 additions & 2 deletions 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
Expand Down Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions posix/globtest.c
Expand Up @@ -18,6 +18,7 @@

#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <glob.h>

Expand Down
1 change: 1 addition & 0 deletions posix/runtests.c
Expand Up @@ -28,6 +28,7 @@ PERFORMANCE OF THIS SOFTWARE.
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>



Expand Down
1 change: 1 addition & 0 deletions posix/test-vfork.c
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <error.h>
#include <errno.h>
Expand Down
1 change: 1 addition & 0 deletions posix/tst-getaddrinfo.c
Expand Up @@ -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>
Expand Down
3 changes: 2 additions & 1 deletion 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
Expand All @@ -23,6 +23,7 @@
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wordexp.h>

#define IFS " \n\t"
Expand Down
1 change: 1 addition & 0 deletions stdio-common/scanf4.c
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>

int
main(int arc, char *argv[])
Expand Down
1 change: 1 addition & 0 deletions stdio-common/scanf5.c
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>

int
main(int argc, char *argv[])
Expand Down
1 change: 1 addition & 0 deletions stdio-common/temptest.c
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

char *files[500];
Expand Down
3 changes: 2 additions & 1 deletion 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
Expand All @@ -17,6 +17,7 @@
Boston, MA 02111-1307, USA. */

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

static int
Expand Down
1 change: 1 addition & 0 deletions 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

Expand Down
4 changes: 3 additions & 1 deletion 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.
Expand All @@ -19,6 +19,8 @@

#include <libgen.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static struct
{
Expand Down
9 changes: 6 additions & 3 deletions sysdeps/unix/sysv/linux/configure
Expand Up @@ -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
;;
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions sysdeps/unix/sysv/linux/configure.in
Expand Up @@ -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
;;
Expand Down
1 change: 1 addition & 0 deletions time/clocktest.c
@@ -1,5 +1,6 @@
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>

Expand Down
3 changes: 2 additions & 1 deletion 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
Expand All @@ -17,6 +17,7 @@
Boston, MA 02111-1307, USA. */

#include <stdio.h>
#include <stdlib.h>
#include <wctype.h>

int
Expand Down

0 comments on commit 3e1f480

Please sign in to comment.