]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] build failure in C99
authorEvan Hunt <each@isc.org>
Thu, 24 Jan 2013 22:51:27 +0000 (14:51 -0800)
committerEvan Hunt <each@isc.org>
Thu, 24 Jan 2013 22:51:27 +0000 (14:51 -0800)
3478. [port] Fix a build failure in strict C99 environments
[RT #32475]

CHANGES
configure.in

diff --git a/CHANGES b/CHANGES
index 8484f46c2670301bc397211ff574361646317938..ad8988250b229b63db0eb01ada5d824b702fc802 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
-3477.  [func]          expand logging when adding records via DDNS update
+3478.  [port]          Fix a build failure in strict C99 environments
+                       [RT #32475]
+
+3477.  [func]          Expand logging when adding records via DDNS update
                        [RT #32365]
                        
 3476.  [bug]           "rndc zonestatus" could report a spurious "not
index 79e16221c68853a449fb971ce00e897fda819916..4657145e1423b3192498271731482f0268db5545 100644 (file)
@@ -391,17 +391,15 @@ AC_CHECK_FUNCS(setegid setresgid)
 # is reported to not support "static inline" (RT #1212).
 #
 AC_MSG_CHECKING(for static inline breakage)
-AC_TRY_COMPILE(, [
-               foo1();
-       }
-
+AC_TRY_COMPILE([
        static inline int foo1() {
                return 0;
        }
 
        static inline int foo2() {
                return foo1();
-       ],
+       }
+       ], [foo1();],
        [AC_MSG_RESULT(no)],
        [AC_MSG_RESULT(yes)
         AC_DEFINE(inline, ,[Define to empty if your compiler does not support "static inline".])])