From c64b35d2843e9d2d03775aee59c1b17a05b1d3ad Mon Sep 17 00:00:00 2001 From: pgen Date: Mon, 12 Jun 2023 23:25:04 +0200 Subject: Rework xstrdup and xstrndup smenu can now be compiled without warning when using the following options: -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1455f30..2444308 100644 --- a/configure.ac +++ b/configure.ac @@ -42,7 +42,7 @@ AC_TYPE_SIZE_T AC_FUNC_MALLOC AC_FUNC_REALLOC AC_CHECK_FUNCS([mblen memset nl_langinfo pathconf regcomp setlocale]) -AC_CHECK_FUNCS([strchr strrchr strspn strcasecmp strdup strndup]) +AC_CHECK_FUNCS([strchr strrchr strspn strcasecmp]) AC_CANONICAL_HOST # OS-specific tests -- cgit v1.2.3