From: Bernhard Voelker Date: Mon, 22 Jul 2019 10:28:26 +0000 (+0200) Subject: pthread tests: Avoid missing-declarations warning. X-Git-Tag: v1.0~4730 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=05945712364c775ebbccdc4048c462e26dbc8bb5;p=gnulib.git pthread tests: Avoid missing-declarations warning. * tests/test-pthread-cond.c (test_pthread_cond_wait): Declare static. --- diff --git a/ChangeLog b/ChangeLog index 40d3e6741a..527869d074 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-07-22 Bernhard Voelker + + pthread tests: Avoid missing-declarations warning. + * tests/test-pthread-cond.c (test_pthread_cond_wait): Declare static. + 2019-07-19 Bruno Haible parse-datetime: Avoid warnings from bison versions >= 3.3. diff --git a/tests/test-pthread-cond.c b/tests/test-pthread-cond.c index d229c7dcc9..201b1e15ba 100644 --- a/tests/test-pthread-cond.c +++ b/tests/test-pthread-cond.c @@ -83,7 +83,7 @@ pthread_cond_wait_routine (void *arg) return NULL; } -void +static void test_pthread_cond_wait () { struct timespec remain;