diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-11-19 19:27:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-11-19 19:27:17 +0000 |
commit | 00a9b51d9a6838499541334bd269303a3e2c0174 (patch) | |
tree | fbed0db78f5e6453468e8b4fb263814b590c54c4 /include | |
parent | 2674f2a35bc904972a0a68cb8067fa859e427a3b (diff) | |
download | glibc-00a9b51d9a6838499541334bd269303a3e2c0174.zip glibc-00a9b51d9a6838499541334bd269303a3e2c0174.tar.gz glibc-00a9b51d9a6838499541334bd269303a3e2c0174.tar.bz2 |
__libc_dlopen is now a macro calling __libc_dlopen_mode with the extra parameter RTLD_LAZY. (__libc_dlopen_mode): New prototype.
Diffstat (limited to 'include')
-rw-r--r-- | include/dlfcn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h index fca2feb..fd1c8a9 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -9,7 +9,8 @@ extern void *__dlvsym (void *__handle, __const char *__name, __const char *__version); -extern void *__libc_dlopen (__const char *__name); +#define __libc_dlopen(name) __libc_dlopen_mode (name, RTLD_LAZY) +extern void *__libc_dlopen_mode (__const char *__name, int __mode); extern void *__libc_dlsym (void *__map, __const char *__name); extern int __libc_dlclose (void *__map); |