summaryrefslogtreecommitdiff
path: root/fitz/util_strsep.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/util_strsep.c')
-rw-r--r--fitz/util_strsep.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/fitz/util_strsep.c b/fitz/util_strsep.c
deleted file mode 100644
index e54903ce..00000000
--- a/fitz/util_strsep.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <string.h>
-
-char *strsep(char **stringp, const char *delim)
-{
- char *ret = *stringp;
- if (ret == NULL) return NULL;
- if ((*stringp = strpbrk(*stringp, delim)) != NULL)
- *((*stringp)++) = '\0';
- return ret;
-}
-