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 /config.h.in | |
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 'config.h.in')
-rw-r--r-- | config.h.in | 6 |
1 files changed, 0 insertions, 6 deletions
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 <strings.h> header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the <string.h> 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 |