diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-19 14:53:05 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-19 14:53:05 -0800 |
commit | bdb6c75fd667e43ce228f1a32e930a0f2966f29d (patch) | |
tree | cf6bf612c0e3132cc94c45dab2b2efe9035f7a63 /src/XpmI.h | |
parent | 73b69d794d98e0ccfada48836c4b28280353180f (diff) |
It has never been used in the autoconf builds
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/XpmI.h')
-rw-r--r-- | src/XpmI.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -47,6 +47,7 @@ #include <stdio.h> #include <stdlib.h> #include <limits.h> +#include <string.h> #include <strings.h> #include <X11/Xos.h> @@ -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 <string.h> -#endif - HFUNC(xpmatoui, unsigned int, (char *p, unsigned int l, unsigned int *ui_return)); |