Browse Source

Remove unused variables. From Peter Mazinger.

Joakim Tjernlund 20 years ago
parent
commit
f60c464f08
2 changed files with 0 additions and 3 deletions
  1. 0 2
      ldso/include/ldso.h
  2. 0 1
      ldso/libdl/libdl.c

+ 0 - 2
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 */

+ 0 - 1
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);