summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-09-02 07:12:10 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-09-02 07:12:10 +0000
commitf60c464f0821b3f582e9f42533e9a10c7a85d3c7 (patch)
tree38c7432bfccabacc43affa193cc58cba5d9a320b /ldso
parent032fe649844441c4f68a69e4e3afca8da692a145 (diff)
Remove unused variables. From Peter Mazinger.
Diffstat (limited to 'ldso')
-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);