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 2d8964ff11c443b2073d3ceee3a37d5cb4f17d48..e7ca0e6f1b827dab30b05c9e641829330e05295f 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 88abe17821cd9a4441abd911a2234fd63e94c7bb..1ddfda3e4a66d8912b2329a25fcd0138018831ae 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;