From f5a5c76cb9e36e302eb6d357a4411352e28d2c32 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 6 Sep 2017 11:57:04 +0200 Subject: Move fz_strcasecmp to the header it belongs to. --- include/mupdf/fitz/string-util.h | 5 +++++ include/mupdf/fitz/system.h | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/mupdf/fitz/string-util.h b/include/mupdf/fitz/string-util.h index 41c4d473..36907257 100644 --- a/include/mupdf/fitz/string-util.h +++ b/include/mupdf/fitz/string-util.h @@ -82,6 +82,11 @@ void fz_format_output_path(fz_context *ctx, char *path, size_t size, const char */ char *fz_cleanname(char *name); +/* + Case insensitive (ASCII only) string comparison. +*/ +int fz_strcasecmp(const char *a, const char *b); + /* FZ_UTFMAX: Maximum number of bytes in a decoded rune (maximum length returned by fz_chartorune). */ diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index 73003c3b..43776ce9 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -476,6 +476,4 @@ static inline float my_atan2f(float o, float a) #define atan2f(x,y) my_atan2f((x),(y)) #endif -int fz_strcasecmp(const char *a, const char *b); - #endif -- cgit v1.2.3