summaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/core/sys/dragonflybsd/dlfcn.d
diff options
context:
space:
mode:
Diffstat (limited to 'libphobos/libdruntime/core/sys/dragonflybsd/dlfcn.d')
-rw-r--r--libphobos/libdruntime/core/sys/dragonflybsd/dlfcn.d24
1 files changed, 0 insertions, 24 deletions
diff --git a/libphobos/libdruntime/core/sys/dragonflybsd/dlfcn.d b/libphobos/libdruntime/core/sys/dragonflybsd/dlfcn.d
index 2c5d8d79c22..0e8b15ccf88 100644
--- a/libphobos/libdruntime/core/sys/dragonflybsd/dlfcn.d
+++ b/libphobos/libdruntime/core/sys/dragonflybsd/dlfcn.d
@@ -15,18 +15,6 @@ public import core.sys.posix.dlfcn;
extern (C) nothrow @nogc @system:
/*
- * Modes and flags for dlopen().
- */
-static assert(RTLD_LAZY == 1);
-static assert(RTLD_NOW == 2);
-enum RTLD_MODEMASK = 0x3;
-static assert(RTLD_GLOBAL == 0x100);
-static assert(RTLD_LOCAL == 0);
-enum RTLD_TRACE = 0x200;
-enum RTLD_NODELETE = 0x01000;
-enum RTLD_NOLOAD = 0x02000;
-
-/*
* Request arguments for dlinfo().
*/
enum RTLD_DI_LINKMAP = 2; /* Obtain link map. */
@@ -43,17 +31,6 @@ enum RTLD_DEFAULT = cast(void *)-2; /* Use default search algorithm. */
enum RTLD_SELF = cast(void *)-3; /* Search the caller itself. */
/*
- * Structure filled in by dladdr().
- */
-struct Dl_info {
- const(char) *dli_fname; /* Pathname of shared object. */
- void *dli_fbase; /* Base address of shared object. */
- const(char) *dli_sname; /* Name of nearest symbol. */
- void *dli_saddr; /* Address of nearest symbol. */
-}
-
-
-/*
* Structures, returned by the RTLD_DI_SERINFO dlinfo() request.
*/
struct Dl_serpath {
@@ -91,7 +68,6 @@ extern(C) {
}
void* fdlopen(int, int);
-int dladdr(const(void)*, Dl_info*);
dlfunc_t dlfunc(void*, const(char)*);
int dlinfo(void*, int, void*);
/*void dllockinit(void* _context,