diff options
author | Sam James <sam@gentoo.org> | 2022-10-30 17:35:34 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-30 17:43:01 +0000 |
commit | fde70361c2211d7f4c52599b56cc75c4aae98928 (patch) | |
tree | b8680b607f157bce26312b56b26d3b09de8cc2a3 /m4 | |
parent | d9e783f7eb235c9d27ed69c8e56cd78a6becd323 (diff) | |
download | autoconf-archive-fde70361c2211d7f4c52599b56cc75c4aae98928.tar.gz |
AX_C_VAR_FUNC: fix -Wstrict-prototypes
Preparation for Clang 16.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ax_c_var_func.m4 | 4 |
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], |