diff --git a/ChangeLog b/ChangeLog
index 62fb4f8d115038bd3012902b1f80c51ea98d35c9..a904b74935f283ef729c0a089c37faf937f87643 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2016-01-20  Niels Möller  <nisse@lysator.liu.se>
 
+	* testsuite/dlopen-test.c (main): Mark arguments as UNUSED.
+
 	* testsuite/Makefile.in (clean): Delete dlopen-test.
 
 2016-01-10  Niels Möller  <nisse@lysator.liu.se>
diff --git a/testsuite/dlopen-test.c b/testsuite/dlopen-test.c
index 7a6384579372ebc6485c5ad026b2cfb81d94e9c1..23ff25ade5a3f687759d47c9af79a5a07a6f955e 100644
--- a/testsuite/dlopen-test.c
+++ b/testsuite/dlopen-test.c
@@ -6,7 +6,7 @@
 #endif
 
 int
-main (int argc, char **argv)
+main (int argc UNUSED, char **argv UNUSED)
 {
 #if HAVE_LIBDL
   void *handle = dlopen ("../libnettle.so", RTLD_NOW);