summaryrefslogtreecommitdiff
path: root/test/dlopen/tst-origin.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-05 23:09:24 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-05 23:09:24 +0200
commitd80e49d7b6da04efac6ece21497d32b14abb089f (patch)
tree2ba477d7059c4f435654ec55bdea77473b805564 /test/dlopen/tst-origin.c
parent84b58ef8701d3d7d6071b391196ee78556f724df (diff)
test: quieten some gcc warnings
Fix some gcc warnings while compiling the testsuite.
Diffstat (limited to 'test/dlopen/tst-origin.c')
-rw-r--r--test/dlopen/tst-origin.c2
1 files changed, 1 insertions, 1 deletions
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);