summaryrefslogtreecommitdiff
path: root/ldso/libdl/libdl.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-27 15:06:41 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-27 15:06:41 +0000
commit1372e95c24d3ec786f43e7281663d93e981db67a (patch)
tree59d6d6ee6bf31cc5e7f68d80e6f08ecc912f5926 /ldso/libdl/libdl.c
parent672a42c9b788611e297207049dc852cfe1cb164e (diff)
- remove a couple of duplicate includes
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r--ldso/libdl/libdl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index ce588cc11..9681e581b 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -32,7 +32,7 @@
#include <ldso.h>
#include <stdio.h>
-#include <string.h>
+#include <string.h> /* Needed for 'strstr' prototype' */
#include <stdbool.h>
@@ -77,8 +77,6 @@ extern char *_dl_debug;
* the symbols that otherwise would have been loaded in from ldso... */
#ifdef __SUPPORT_LD_DEBUG__
-/* Needed for 'strstr' prototype' */
-#include <string.h>
char *_dl_debug = 0;
char *_dl_debug_symbols = 0;
char *_dl_debug_move = 0;