From d72683055ea46253d8eb8f89341eff5414ae6ca0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 24 Jul 2011 23:37:17 +0200 Subject: [PATCH] test-select.h: avoid warning from gcc's -Wmissing-declarations * tests/test-select.h (test_function): Declare as "static". --- ChangeLog | 5 +++++ tests/test-select.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2d8964ff11..e7ca0e6f1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-07-24 Jim Meyering + + 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 doc: Mention the effects of AC_SYS_LARGEFILE. diff --git a/tests/test-select.h b/tests/test-select.h index 88abe17821..1ddfda3e4a 100644 --- a/tests/test-select.h +++ b/tests/test-select.h @@ -359,7 +359,7 @@ test_pipe (select_fn my_select) /* Do them all. */ -int +static int test_function (select_fn my_select) { int result; -- 2.30.2