summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-29 23:46:10 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-29 23:46:10 +0000
commit53308042259bb73ce10aada138dc6bd26dd9a9c2 (patch)
treebe23c7ac499cd843a684e61f5f4e543c9cfdd38c
parentf9a2a6369d67788a287a985a2d231bb8e3ccd60d (diff)
downloadglibc-53308042259bb73ce10aada138dc6bd26dd9a9c2.tar.gz
glibc-53308042259bb73ce10aada138dc6bd26dd9a9c2.tar.xz
glibc-53308042259bb73ce10aada138dc6bd26dd9a9c2.zip
Update.
1999-07-29  H.J. Lu  <hjl@gnu.org>

	* stdlib/mbtowc.c: Include <string.h>.
	* stdlib/wctomb.c: Likewise.
	* sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
	* sysdeps/unix/sysv/linux/statfs64.c: Likewise.

	* misc/mntent_r.c: Include <alloca.h>.
	* elf/dl-runtime.c: Likewise.
-rw-r--r--ChangeLog10
-rw-r--r--elf/dl-libc.c2
-rw-r--r--elf/dl-runtime.c1
-rw-r--r--elf/do-lookup.h4
-rw-r--r--misc/mntent_r.c1
-rw-r--r--stdlib/mbtowc.c1
-rw-r--r--stdlib/wctomb.c1
-rw-r--r--sysdeps/unix/sysv/linux/fstatfs64.c3
-rw-r--r--sysdeps/unix/sysv/linux/statfs64.c3
9 files changed, 21 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 5104c3462c..23923c5c84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+1999-07-29  H.J. Lu  <hjl@gnu.org>
+
+	* stdlib/mbtowc.c: Include <string.h>.
+	* stdlib/wctomb.c: Likewise.
+	* sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
+	* sysdeps/unix/sysv/linux/statfs64.c: Likewise.
+
+	* misc/mntent_r.c: Include <alloca.h>.
+	* elf/dl-runtime.c: Likewise.
+
 1999-07-29  Andreas Schwab  <schwab@suse.de>
 
 	* misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
diff --git a/elf/dl-libc.c b/elf/dl-libc.c
index 784af27c3d..39ccf82ed1 100644
--- a/elf/dl-libc.c
+++ b/elf/dl-libc.c
@@ -89,7 +89,7 @@ do_dlsym (void *ptr)
 static void
 do_dlclose (void *ptr)
 {
-    _dl_close ((struct link_map *) ptr);
+  _dl_close ((struct link_map *) ptr);
 }
 
 /* ... and these functions call dlerror_run. */
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index a55fbf6e4b..8e8728c8ff 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -17,6 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <alloca.h>
 #include <unistd.h>
 #include <elf/ldsodefs.h>
 #include "dynamic-link.h"
diff --git a/elf/do-lookup.h b/elf/do-lookup.h
index 3c5e6f4e9b..03eb2c66c7 100644
--- a/elf/do-lookup.h
+++ b/elf/do-lookup.h
@@ -149,9 +149,9 @@ FCT (const char *undef_name, struct link_map *undef_map,
 	 default version we still accept this symbol since there are
 	 no possible ambiguities.  */
 #if VERSIONED
-	sym = NULL;
+      sym = NULL;
 #else
-	sym = num_versions == 1 ? versioned_sym : NULL;
+      sym = num_versions == 1 ? versioned_sym : NULL;
 #endif
 
       if (sym != NULL
diff --git a/misc/mntent_r.c b/misc/mntent_r.c
index 6d46abbd95..78b1c2dcea 100644
--- a/misc/mntent_r.c
+++ b/misc/mntent_r.c
@@ -17,6 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <alloca.h>
 #include <mntent.h>
 #include <stdio.h>
 #include <string.h>
diff --git a/stdlib/mbtowc.c b/stdlib/mbtowc.c
index cba34d32a4..0d84f50d4f 100644
--- a/stdlib/mbtowc.c
+++ b/stdlib/mbtowc.c
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdlib.h>
+#include <string.h>
 #include <wchar.h>
 #include <gconv.h>
 #include <wcsmbs/wcsmbsload.h>
diff --git a/stdlib/wctomb.c b/stdlib/wctomb.c
index 174bbf46c2..6b9024797a 100644
--- a/stdlib/wctomb.c
+++ b/stdlib/wctomb.c
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdlib.h>
+#include <string.h>
 #include <wchar.h>
 #include <gconv.h>
 #include <wcsmbs/wcsmbsload.h>
diff --git a/sysdeps/unix/sysv/linux/fstatfs64.c b/sysdeps/unix/sysv/linux/fstatfs64.c
index 5ffdf9cd84..ee31b5cbe4 100644
--- a/sysdeps/unix/sysv/linux/fstatfs64.c
+++ b/sysdeps/unix/sysv/linux/fstatfs64.c
@@ -1,5 +1,5 @@
 /* Return information about the filesystem on which FD resides.
-   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999 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 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <errno.h>
+#include <string.h>
 #include <sys/statfs.h>
 #include <stddef.h>
 
diff --git a/sysdeps/unix/sysv/linux/statfs64.c b/sysdeps/unix/sysv/linux/statfs64.c
index 01640e3c4e..a59a637a7b 100644
--- a/sysdeps/unix/sysv/linux/statfs64.c
+++ b/sysdeps/unix/sysv/linux/statfs64.c
@@ -1,5 +1,5 @@
 /* Return information about the filesystem on which FILE resides.
-   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999 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 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <errno.h>
+#include <string.h>
 #include <sys/statfs.h>
 #include <stddef.h>