aboutsummaryrefslogtreecommitdiff
path: root/dlfcn
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-02-27 15:21:03 -0800
committerRoland McGrath <roland@hack.frob.com>2015-02-27 15:54:33 -0800
commitc7b19ca99a410e9f2b82b9b3494c12c9a5da32db (patch)
treea9cd6e64cbbce7fda301bcc8d031ed758eac2daf /dlfcn
parentef4ad06fe5a615af9550d74b1b6d546b9dc0a64d (diff)
downloadglibc-c7b19ca99a410e9f2b82b9b3494c12c9a5da32db.tar
glibc-c7b19ca99a410e9f2b82b9b3494c12c9a5da32db.tar.gz
glibc-c7b19ca99a410e9f2b82b9b3494c12c9a5da32db.tar.bz2
glibc-c7b19ca99a410e9f2b82b9b3494c12c9a5da32db.zip
Convert dlfcn/tststatic2 to use test-skeleton.
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/tststatic2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/dlfcn/tststatic2.c b/dlfcn/tststatic2.c
index 5d273a69bf..f8cd5a964b 100644
--- a/dlfcn/tststatic2.c
+++ b/dlfcn/tststatic2.c
@@ -5,8 +5,8 @@
#include <string.h>
#include <gnu/lib-names.h>
-int
-main (void)
+static int
+do_test (void)
{
void *handle = dlopen ("modstatic2-nonexistent.so", RTLD_LAZY);
if (handle == NULL)
@@ -162,3 +162,6 @@ main (void)
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"