From 463b88a5dbb558e2512c64bfb6562a003b40ddda Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 29 Aug 2012 17:49:12 -0700 Subject: [PATCH 1/1] tls-tests: omit unnecessary 'inline' * tests/test-tls.c (perhaps_yield): No longer inline. Simplicity and portability trump efficiency in test cases. --- ChangeLog | 4 ++++ tests/test-tls.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 79a165a55..2440e7312 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-09-22 Paul Eggert + tls-tests: omit unnecessary 'inline' + * tests/test-tls.c (perhaps_yield): No longer inline. + Simplicity and portability trump efficiency in test cases. + utimens-tests: avoid unnecessary 'inline' * modules/fdutimensat-tests (configure.ac): * modules/futimens-tests (configure.ac): diff --git a/tests/test-tls.c b/tests/test-tls.c index 84085d756..a86c464ce 100644 --- a/tests/test-tls.c +++ b/tests/test-tls.c @@ -66,7 +66,7 @@ # define yield() #endif -static inline void +static void perhaps_yield (void) { /* Call yield () only with a certain probability, otherwise with GNU Pth -- 2.11.0