From d80e49d7b6da04efac6ece21497d32b14abb089f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 5 Jun 2016 23:09:24 +0200 Subject: test: quieten some gcc warnings Fix some gcc warnings while compiling the testsuite. --- test/dlopen/tst-origin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/dlopen') diff --git a/test/dlopen/tst-origin.c b/test/dlopen/tst-origin.c index a12be415b..60fcd3f64 100644 --- a/test/dlopen/tst-origin.c +++ b/test/dlopen/tst-origin.c @@ -9,7 +9,7 @@ extern void _dlinfo(void); int main(int argc, char **argv) { void *h1, *h2; - int (*mydltest)(const char *s); + int __attribute__((unused))(*mydltest)(const char *s); char *error; h1 = dlopen ("libtest31.so", RTLD_LAZY); -- cgit v1.2.3