tls-tests: omit unnecessary 'inline'
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 Aug 2012 00:49:12 +0000 (17:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 22 Sep 2012 08:58:22 +0000 (01:58 -0700)
* tests/test-tls.c (perhaps_yield): No longer inline.
Simplicity and portability trump efficiency in test cases.

ChangeLog
tests/test-tls.c

index 79a165a..2440e73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-09-22  Paul Eggert  <eggert@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):
index 84085d7..a86c464 100644 (file)
@@ -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