about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-11-19 19:27:17 +0000
committerUlrich Drepper <drepper@redhat.com>2002-11-19 19:27:17 +0000
commit00a9b51d9a6838499541334bd269303a3e2c0174 (patch)
treefbed0db78f5e6453468e8b4fb263814b590c54c4 /include
parent2674f2a35bc904972a0a68cb8067fa859e427a3b (diff)
downloadglibc-00a9b51d9a6838499541334bd269303a3e2c0174.tar.gz
glibc-00a9b51d9a6838499541334bd269303a3e2c0174.tar.xz
glibc-00a9b51d9a6838499541334bd269303a3e2c0174.zip
__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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index fca2feb458..fd1c8a96a2 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);