From: Pádraig Brady Date: Mon, 9 Dec 2013 14:23:07 +0000 (+0000) Subject: open-tests: fix build failure with -Werror=old-style-declaration X-Git-Tag: snapshot-start~11 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=0658e5039f75053480a7599edca236fecffe100d open-tests: fix build failure with -Werror=old-style-declaration * tests/test-open.h: Reorder the inline to avoid the issue. --- diff --git a/ChangeLog b/ChangeLog index 563e86716..82a632ad9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2013-12-07 Pádraig Brady + 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 + md5, sha1, sha256, sha512: fix link error with partial libcrypto * m4/gl-openssl.m4 (gl_CRYPTO_CHECK): Only clear LIB_CRYPTO at init time, so that if early checks find crypto routines, diff --git a/tests/test-open.h b/tests/test-open.h index ff44b3e83..2e634de63 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;