summaryrefslogtreecommitdiff
path: root/ldso/libdl
diff options
context:
space:
mode:
authorBernd Schmidt <bernds_cb1@t-online.de>2007-12-03 23:13:10 +0000
committerBernd Schmidt <bernds_cb1@t-online.de>2007-12-03 23:13:10 +0000
commitad989e28a40d78faa9ac6916355e8f1482900a35 (patch)
treef3ebb005db69485d11750a70c295e18bf196418f /ldso/libdl
parentc0008412eb2f37042adc360577fe8f234b3c095f (diff)
Fix a few warnings introduced by my previous commits.
Diffstat (limited to 'ldso/libdl')
-rw-r--r--ldso/libdl/libdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 9a6714abf..4e909a16f 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -447,8 +447,8 @@ void *dlsym(void *vhandle, const char *name)
struct dyn_elf *rpnt;
void *ret;
/* Nastiness to support underscore prefixes. */
- char tmp_buf[80];
#ifndef __UCLIBC_NO_UNDERSCORES__
+ char tmp_buf[80];
char *name2 = tmp_buf;
size_t nlen = strlen (name) + 1;
if (nlen + 1 > sizeof (tmp_buf))