From 53308042259bb73ce10aada138dc6bd26dd9a9c2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 29 Jul 1999 23:46:10 +0000 Subject: Update. 1999-07-29 H.J. Lu * stdlib/mbtowc.c: Include . * stdlib/wctomb.c: Likewise. * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. * sysdeps/unix/sysv/linux/statfs64.c: Likewise. * misc/mntent_r.c: Include . * elf/dl-runtime.c: Likewise. --- elf/dl-libc.c | 2 +- elf/dl-runtime.c | 1 + elf/do-lookup.h | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'elf') 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 #include #include #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 -- cgit v1.2.3