summaryrefslogtreecommitdiffstats
path: root/Source/cm_utf8.h
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-11-23 01:10:39 (GMT)
committerSean McBride <sean@rogue-research.com>2021-12-01 16:17:39 (GMT)
commit4b548c10285d80b8781e5572c5cbd706d6c1fe91 (patch)
tree37ea88945b77b9eb9551f37f83e46abd70f7366b /Source/cm_utf8.h
parent29ffa5f48c68bfbfb03222e230f91010c2677ae7 (diff)
downloadCMake-4b548c10285d80b8781e5572c5cbd706d6c1fe91.zip
CMake-4b548c10285d80b8781e5572c5cbd706d6c1fe91.tar.gz
CMake-4b548c10285d80b8781e5572c5cbd706d6c1fe91.tar.bz2
Source: Fix -Wmissing-variable-declarations warning
Diffstat (limited to 'Source/cm_utf8.h')
-rw-r--r--Source/cm_utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cm_utf8.h b/Source/cm_utf8.h
index fa9ed3a..67f3d3f 100644
--- a/Source/cm_utf8.h
+++ b/Source/cm_utf8.h
@@ -6,6 +6,8 @@
extern "C" {
#endif
+extern unsigned char const cm_utf8_ones[256];
+
/** Decode one UTF-8 character from the input byte range. On success,
stores the unicode character number in *pc and returns the first
position not extracted. On failure, returns 0. */