]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-dlmodcount.c
Update copyright dates not handled by scripts/update-copyrights.
[thirdparty/glibc.git] / elf / tst-dlmodcount.c
index 08605b56d91b4abe7768ce4081ab86920932c99e..18c3625aa1f258dfe2dc03f4e041e7d7e7a6869d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2004-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by David Mosberger <davidm@hpl.hp.com>, 2004.
 
@@ -92,8 +92,8 @@ unload (const char *path, void *handle)
   dl_iterate_phdr (callback, (void *)(intptr_t) REMOVE);
 }
 
-int
-main (int argc, char **argv)
+static int
+do_test (void)
 {
   void *handle1, *handle2;
 
@@ -104,3 +104,5 @@ main (int argc, char **argv)
   unload ("globalmod1.so", handle2);
   return 0;
 }
+
+#include <support/test-driver.c>