aboutsummaryrefslogtreecommitdiff
path: root/dlfcn
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-10-27 00:23:28 +0000
committerUlrich Drepper <drepper@redhat.com>2001-10-27 00:23:28 +0000
commitca6c73895da003ccea1b7e8ef2b32c98746812aa (patch)
tree4f888d36af9a7988c8f128bf94093bdd15c496f8 /dlfcn
parentd3640b91f7416080e4f16c93f7a59d6849ac6dc9 (diff)
downloadglibc-ca6c73895da003ccea1b7e8ef2b32c98746812aa.zip
glibc-ca6c73895da003ccea1b7e8ef2b32c98746812aa.tar.gz
glibc-ca6c73895da003ccea1b7e8ef2b32c98746812aa.tar.bz2
Update.
2001-10-26 Ulrich Drepper <drepper@redhat.com> * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get nrules value. 2001-10-24 H.J. Lu <hjl@gnu.org> * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *. Use __BEGIN_DECLS/__END_DECLS around prototypes. * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise. 2001-10-21 Jim Meyering <meyering@lucent.com> * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, this code would end up calling gettext even in packages built with --disable-nls. * posix/getopt.c (_): Likewise. * posix/regex.c (_): Likewise. 2001-10-26 Ulrich Drepper <drepper@redhat.com> * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse lookup not ip6.int. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. Reported by Martin.v.Loewis@t-online.de [PR libc/2598]. 2001-10-19 Jakub Jelinek <jakub@redhat.com> * misc/sys/cdefs.h (__attribute_used__): Define. * elf/rtld.c (_dl_start): Add __attribute_used__. * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/dlfcn.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/dlfcn/dlfcn.h b/dlfcn/dlfcn.h
index 3fe4d02..6f88a89 100644
--- a/dlfcn/dlfcn.h
+++ b/dlfcn/dlfcn.h
@@ -1,5 +1,5 @@
/* User functions for run-time dynamic loading.
- Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1995-1999, 2000, 2001 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
@@ -25,6 +25,7 @@
/* Collect various system dependent definitions and declarations. */
#include <bits/dlfcn.h>
+
#ifdef __USE_GNU
/* If the first argument of `dlsym' or `dlvsym' is set to RTLD_NEXT
the run-time address of the symbol called NAME in the next shared
@@ -38,6 +39,7 @@
# define RTLD_DEFAULT ((void *) 0)
#endif
+
__BEGIN_DECLS
/* Open the shared object FILE and map it in; return a handle that can be
@@ -66,6 +68,7 @@ extern void *dlvsym (void *__restrict __handle,
the error string so that a following call returns null. */
extern char *dlerror (void) __THROW;
+
#ifdef __USE_GNU
/* Structure containing information about object searched using
`dladdr'. */
@@ -79,7 +82,7 @@ typedef struct
/* Fill in *INFO with the following information about ADDRESS.
Returns 0 iff no shared object's segments contain that address. */
-extern int dladdr (const void *__address, Dl_info *__info) __THROW;
+extern int dladdr (__const void *__address, Dl_info *__info) __THROW;
#endif
__END_DECLS