diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-12-09 14:23:07 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-12-09 14:25:16 +0000 |
commit | 0658e5039f75053480a7599edca236fecffe100d (patch) | |
tree | 2c9804d043a8ec9d6f1060f958d5430f0ed7a16d /tests | |
parent | 8b5510050ddbf5bdee4a7cb89f8ee32e08aecd94 (diff) | |
download | gnulib-0658e5039f75053480a7599edca236fecffe100d.tar.gz |
open-tests: fix build failure with -Werror=old-style-declaration
* tests/test-open.h: Reorder the inline to avoid the issue.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-open.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-open.h b/tests/test-open.h index ff44b3e83e..2e634de631 100644 --- a/tests/test-open.h +++ b/tests/test-open.h @@ -31,7 +31,7 @@ appropriate headers are already included. If PRINT, warn before skipping symlink tests with status 77. */ -static int __always_inline +static __always_inline int test_open (int (*func) (char const *, int, ...), bool print) { int fd; |