summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-16 21:34:34 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-16 21:34:34 +0000
commit138adeccbd94db291a2c2010a941e70cba294a2a (patch)
treeb8185bde42d13f0350357e91e4fae944748458f5
parent2244c71124b3a33cbb065e524dbdc0662099d7c2 (diff)
cleanup a little
-rw-r--r--test/dlopen/dltest.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/dlopen/dltest.c b/test/dlopen/dltest.c
index 230f7fd1d..6bec6e00e 100644
--- a/test/dlopen/dltest.c
+++ b/test/dlopen/dltest.c
@@ -4,11 +4,7 @@
#include <dlfcn.h>
#include <stdint.h>
-#ifdef __UCLIBC__
-extern void _dlinfo(void);
-#endif
-
-int main(int argc, char **argv)
+int main(int argc, char **argv)
{
int ret = EXIT_SUCCESS;
void *handle;
@@ -18,7 +14,7 @@ int main(int argc, char **argv)
handle = dlopen (LIBNAME, RTLD_LAZY);
if (!handle) {
- fprintf(stderr, "Could not open ./libtest.so: %s\n", dlerror());
+ fprintf(stderr, "Could not open ./%s: %s\n", LIBNAME, dlerror());
exit(1);
}