[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/9] tls-tests: omit unnecessary 'inline'
From: |
Paul Eggert |
Subject: |
[PATCH 3/9] tls-tests: omit unnecessary 'inline' |
Date: |
Wed, 29 Aug 2012 23:23:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
* 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 <address@hidden>
+ 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 3/9] tls-tests: omit unnecessary 'inline',
Paul Eggert <=