svn commit: trunk/uClibc/test/dlopen

vapier at uclibc.org vapier at uclibc.org
Fri Feb 16 21:34:35 UTC 2007


Author: vapier
Date: 2007-02-16 13:34:34 -0800 (Fri, 16 Feb 2007)
New Revision: 17914

Log:
cleanup a little

Modified:
   trunk/uClibc/test/dlopen/dltest.c


Changeset:
Modified: trunk/uClibc/test/dlopen/dltest.c
===================================================================
--- trunk/uClibc/test/dlopen/dltest.c	2007-02-16 20:16:24 UTC (rev 17913)
+++ trunk/uClibc/test/dlopen/dltest.c	2007-02-16 21:34:34 UTC (rev 17914)
@@ -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 @@
 
 	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);
 	}
 




More information about the uClibc-cvs mailing list