diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-08-19 06:05:34 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-08-19 06:05:34 +0000 |
commit | bca6a155c79147f706242ed7c590a3538e407a40 (patch) | |
tree | 17c7d7784edc61f3984fb3255672f3ecfe826d22 /ldso/libdl/dlfcn.h | |
parent | fd47fd4039cadf42620bbfce43c3a0338e23ee26 (diff) |
Phase one of my evil plan to clean up ld.so...
Diffstat (limited to 'ldso/libdl/dlfcn.h')
-rw-r--r-- | ldso/libdl/dlfcn.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/ldso/libdl/dlfcn.h b/ldso/libdl/dlfcn.h deleted file mode 100644 index 620181173..000000000 --- a/ldso/libdl/dlfcn.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef DLFCN_H -#define DLFCN_H - -#include <features.h> - -/* - * Various defines and so forth for the dynamic linker - */ - -/* For dlopen () */ -#define RTLD_LAZY 1 -#define RTLD_NOW 2 -#define RTLD_GLOBAL 0x100 - -/* For dlsym */ -#define RTLD_NEXT ((void *)-1) - -__BEGIN_DECLS - -/* The usual prototypes. We use void * instead of the actual - * datatype - the user does not manipulate the handles at all. - */ - -extern void * dlopen __P((__const char * __filename, int __flag)); -extern __const char * dlerror __P((void)); -extern void * dlsym __P((void *, __const char *)); -extern int dlclose __P((void *)); - -typedef struct -{ - const char * dli_fname; /* filename */ - void * dli_fbase; /* base address of object */ - const char * dli_sname; /* nearest symbol name */ - void * dli_saddr; /* nearest symbol address */ -} Dl_info; - -extern int dladdr __P((void * __address, Dl_info * __dlip )); - -__END_DECLS - -#endif |