summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2023-06-12 23:25:04 +0200
committerpgen <p.gen.progs@gmail.com>2023-06-14 00:24:05 +0200
commitc64b35d2843e9d2d03775aee59c1b17a05b1d3ad (patch)
tree667b4d20d08e2fc5ee52176e155cf6030f56668a /configure.ac
parent131b94c135b9e0a72b482d365bca1b533c7e5c2a (diff)
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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