From 138adeccbd94db291a2c2010a941e70cba294a2a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 16 Feb 2007 21:34:34 +0000 Subject: cleanup a little --- test/dlopen/dltest.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test') 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 #include -#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); } -- cgit v1.2.3