]> Savannah Git Hosting - gnulib.git/commitdiff
open-tests: fix build failure with -Werror=old-style-declaration
authorPádraig Brady <P@draigBrady.com>
Mon, 9 Dec 2013 14:23:07 +0000 (14:23 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 9 Dec 2013 14:25:16 +0000 (14:25 +0000)
* tests/test-open.h: Reorder the inline to avoid the issue.

ChangeLog
tests/test-open.h

index 563e8671626fd67e28007f0d0bbe4d33408cb0f3..82a632ad9d665e12bddf6ceead3ff49eded3f1b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-07  Pádraig Brady <P@draigBrady.com>
+
+       open-tests: fix build failure with -Werror=old-style-declaration
+       * tests/test-open.h: Reorder the inline to avoid the issue.
+
 2013-12-07  Pádraig Brady <P@draigBrady.com>
 
        md5, sha1, sha256, sha512: fix link error with partial libcrypto
index ff44b3e83e0aa390909d6a605901b0fed995f147..2e634de631058dd66f3a1a96ede6d9a26b7057e3 100644 (file)
@@ -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;