diff options
author | pgen <p.gen.progs@gmail.com> | 2023-06-12 23:25:04 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2023-06-14 00:24:05 +0200 |
commit | c64b35d2843e9d2d03775aee59c1b17a05b1d3ad (patch) | |
tree | 667b4d20d08e2fc5ee52176e155cf6030f56668a /configure | |
parent | 131b94c135b9e0a72b482d365bca1b533c7e5c2a (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')
-rwxr-xr-x | configure | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -6270,18 +6270,6 @@ then : printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h fi -ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" -if test "x$ac_cv_func_strdup" = xyes -then : - printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h - -fi -ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" -if test "x$ac_cv_func_strndup" = xyes -then : - printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h - -fi |