summaryrefslogtreecommitdiff
path: root/test/dlopen
diff options
context:
space:
mode:
Diffstat (limited to 'test/dlopen')
-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);