From: Jim Meyering Date: Sun, 24 Jul 2011 21:37:17 +0000 (+0200) Subject: test-select.h: avoid warning from gcc's -Wmissing-declarations X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d72683055ea46253d8eb8f89341eff5414ae6ca0;p=pspp test-select.h: avoid warning from gcc's -Wmissing-declarations * tests/test-select.h (test_function): Declare as "static". --- 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;