* 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 008b565..5f8f5c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-08-27 Paul Eggert <egg...@cs.ucla.edu> + 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 84085d7..a86c464 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 -- 1.7.11.4