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 --- config.h.in | 6 ------ 1 file changed, 6 deletions(-) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index c249090..47cb3d3 100644 --- a/config.h.in +++ b/config.h.in @@ -62,18 +62,12 @@ /* Define to 1 if you have the `strchr' function. */ #undef HAVE_STRCHR -/* Define to 1 if you have the `strdup' function. */ -#undef HAVE_STRDUP - /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H -/* Define to 1 if you have the `strndup' function. */ -#undef HAVE_STRNDUP - /* Define to 1 if you have the `strrchr' function. */ #undef HAVE_STRRCHR -- cgit v1.2.3