From 00a9b51d9a6838499541334bd269303a3e2c0174 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 19 Nov 2002 19:27:17 +0000 Subject: [PATCH] __libc_dlopen is now a macro calling __libc_dlopen_mode with the extra parameter RTLD_LAZY. (__libc_dlopen_mode): New prototype. --- include/dlfcn.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.7.4