OSDN Git Service

Remove unused variables. From Peter Mazinger.
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Thu, 2 Sep 2004 07:12:10 +0000 (07:12 -0000)
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>
Thu, 2 Sep 2004 07:12:10 +0000 (07:12 -0000)
ldso/include/ldso.h
ldso/libdl/libdl.c

index 3d36a25..8248b15 100644 (file)
@@ -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 */
index 837ce0d..d76d325 100644 (file)
@@ -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);