summaryrefslogtreecommitdiff
path: root/m4/ax_c_var_func.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ax_c_var_func.m4')
-rw-r--r--m4/ax_c_var_func.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_c_var_func.m4 b/m4/ax_c_var_func.m4
index 4e0e083..8b1e67a 100644
--- a/m4/ax_c_var_func.m4
+++ b/m4/ax_c_var_func.m4
@@ -50,14 +50,14 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 12
+#serial 13
AU_ALIAS([AC_C_VAR_FUNC], [AX_C_VAR_FUNC])
AC_DEFUN([AX_C_VAR_FUNC],
[AC_REQUIRE([AC_PROG_CC])
AC_CACHE_CHECK(whether $CC recognizes __func__, ac_cv_c_var_func,
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
-[[int main() {
+[[int main(void) {
char *s = __func__;
}]])],
[ac_cv_c_var_func=yes],