From fde70361c2211d7f4c52599b56cc75c4aae98928 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 30 Oct 2022 17:35:34 +0000 Subject: AX_C_VAR_FUNC: fix -Wstrict-prototypes Preparation for Clang 16. Signed-off-by: Sam James --- m4/ax_c_var_func.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') 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], -- cgit v1.2.1