test-select.h: avoid warning from gcc's -Wmissing-declarations
authorJim Meyering <meyering@redhat.com>
Sun, 24 Jul 2011 21:37:17 +0000 (23:37 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 24 Jul 2011 21:39:13 +0000 (23:39 +0200)
* tests/test-select.h (test_function): Declare as "static".

ChangeLog
tests/test-select.h

index 2d8964f..e7ca0e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-24  Jim Meyering  <meyering@redhat.com>
+
+       test-select.h: avoid warning when using gcc's -Wmissing-declarations
+       * tests/test-select.h (test_function): Declare as "static".
+
 2011-07-24  Bruno Haible  <bruno@clisp.org>
 
        doc: Mention the effects of AC_SYS_LARGEFILE.
index 88abe17..1ddfda3 100644 (file)
@@ -359,7 +359,7 @@ test_pipe (select_fn my_select)
 
 /* Do them all.  */
 
-int
+static int
 test_function (select_fn my_select)
 {
   int result;