diff options
Diffstat (limited to 'elf/dlsym.c')
-rw-r--r-- | elf/dlsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dlsym.c b/elf/dlsym.c index 8277ca3..0441e54 100644 --- a/elf/dlsym.c +++ b/elf/dlsym.c @@ -29,10 +29,10 @@ dlsym (void *handle, const char *name) struct link_map *map = handle; struct link_map *real_next; Elf32_Addr loadbase; + const Elf32_Sym *ref = NULL; int lose; void doit (void) { - const Elf32_Sym *ref = NULL; loadbase = _dl_lookup_symbol (name, &ref, map, map->l_name, 1); } |