From bdb6c75fd667e43ce228f1a32e930a0f2966f29d Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 19 Feb 2024 14:53:05 -0800 Subject: Remove xpmstrdup fallback for strdup It has never been used in the autoconf builds Signed-off-by: Alan Coopersmith --- src/XpmI.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/XpmI.h') diff --git a/src/XpmI.h b/src/XpmI.h index 69e23c2..3292a2c 100644 --- a/src/XpmI.h +++ b/src/XpmI.h @@ -47,6 +47,7 @@ #include #include #include +#include #include #include @@ -290,14 +291,6 @@ HFUNC(xpm_znormalizeimagebits, void, (register unsigned char *bp, #define ZINDEX1(x, y, img) ((y) * img->bytes_per_line) + ((x) >> 3) -#ifdef NEED_STRDUP -HFUNC(xpmstrdup, char *, (char *s1)); -#else -#undef xpmstrdup -#define xpmstrdup strdup -#include -#endif - HFUNC(xpmatoui, unsigned int, (char *p, unsigned int l, unsigned int *ui_return)); -- cgit v1.2.3