summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-26 17:41:29 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:34 +0200
commit73089985a93125f93894f3bead26237430fdaaad (patch)
tree09a2a642e3e8e0a7d6f63834450a98c496adf5b7 /include
parentd5f3b8031b87fbc2d355e167c4358f28392d5c4d (diff)
libdl.c: disable dlinfo
dlinfo is a GNU extension, it should be of the same type as on glibc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/dlfcn.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 2348e436d..6d2b05ce8 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -1,6 +1,5 @@
/* User functions for run-time dynamic loading.
- Copyright (C) 1995-1999,2000,2001,2003,2004,2006
- Free Software Foundation, Inc.
+ Copyright (C) 1995-2001,2003,2004,2006,2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -52,6 +51,7 @@ typedef long int Lmid_t;
# endif
#endif
+
__BEGIN_DECLS
/* Open the shared object FILE and map it in; return a handle that can be
@@ -166,7 +166,7 @@ enum
segment, or if the calling thread has not allocated a block for it. */
RTLD_DI_TLS_DATA = 10,
- RTLD_DI_MAX = 10,
+ RTLD_DI_MAX = 10
};
@@ -186,12 +186,6 @@ typedef struct
unsigned int dls_cnt; /* Number of elements in `dls_serpath'. */
Dl_serpath dls_serpath[1]; /* Actually longer, dls_cnt elements. */
} Dl_serinfo;
-
-#else
-
-/* Get information about the shared objects currently loaded */
-extern int dlinfo (void);
-
#endif
#endif /* __USE_GNU */