summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/include/ldso.h2
-rw-r--r--ldso/libdl/libdl.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h
index 3d36a2525..8248b1574 100644
--- a/ldso/include/ldso.h
+++ b/ldso/include/ldso.h
@@ -38,8 +38,6 @@ extern char *_dl_ldsopath; /* Where the shared lib loader was found
extern const char *_dl_progname; /* The name of the executable being run */
extern unsigned char *_dl_malloc_addr; /* Lets _dl_malloc use the already allocated memory page */
extern unsigned char *_dl_mmap_zero; /* Also used by _dl_malloc */
-extern unsigned long *_dl_brkp; /* The end of the data segment for brk and sbrk */
-extern unsigned long *_dl_envp; /* The environment address */
extern int _dl_secure; /* Are we dealing with setuid stuff? */
extern size_t _dl_pagesize; /* Store the page size for use later */
extern const char *_dl_progname; /* The name of the shared library loader */
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 837ce0dc9..d76d325c3 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -130,7 +130,6 @@ void *dlopen(const char *libname, int flag)
struct elf_resolve *tpnt, *tfrom, *tcurr;
struct dyn_elf *dyn_chain, *rpnt = NULL, *dyn_ptr;
struct dyn_elf *dpnt;
- static int dl_init = 0;
ElfW(Addr) from;
struct elf_resolve *tpnt1;
void (*dl_brk) (void);