From f60c464f0821b3f582e9f42533e9a10c7a85d3c7 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Thu, 2 Sep 2004 07:12:10 +0000 Subject: Remove unused variables. From Peter Mazinger. --- ldso/include/ldso.h | 2 -- ldso/libdl/libdl.c | 1 - 2 files changed, 3 deletions(-) (limited to 'ldso') 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); -- cgit v1.2.3