diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-09-06 11:57:04 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-09-12 15:08:53 +0200 |
commit | f5a5c76cb9e36e302eb6d357a4411352e28d2c32 (patch) | |
tree | 7488be3ab05cfdae90b56e2d7407e696aea09c77 /include | |
parent | cd688ef86f47981d01ae268138f6fe4d2559bf2f (diff) | |
download | mupdf-f5a5c76cb9e36e302eb6d357a4411352e28d2c32.tar.xz |
Move fz_strcasecmp to the header it belongs to.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/string-util.h | 5 | ||||
-rw-r--r-- | 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 @@ -83,6 +83,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). */ enum { FZ_UTFMAX = 4 }; 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 |