summary refs log tree commit diff
path: root/elf
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 /elf
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.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-libc.c2
-rw-r--r--elf/dl-runtime.c1
-rw-r--r--elf/do-lookup.h4
3 files changed, 4 insertions, 3 deletions
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