summaryrefslogtreecommitdiff
path: root/hangul
diff options
context:
space:
mode:
authorCarbo Kuo <carbokuo@google.com>2013-06-09 14:44:19 +0800
committerCarbo Kuo <carbokuo@google.com>2013-06-09 14:44:19 +0800
commitcf6a79b048eb1b077dcd5a1d924dad6ac2ad2a69 (patch)
tree70e276d7ade381a7e9ec1d90c43e879f486df9c4 /hangul
parent5485cf4ff5d5fc2171806029fbeef35dd2bcf688 (diff)
downloadlibhangul-cf6a79b048eb1b077dcd5a1d924dad6ac2ad2a69.tar.gz
Fix some build warnings.
Diffstat (limited to 'hangul')
-rw-r--r--hangul/hangulctype.c2
-rw-r--r--hangul/hangulinputcontext.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/hangul/hangulctype.c b/hangul/hangulctype.c
index 4ba2415..6cac081 100644
--- a/hangul/hangulctype.c
+++ b/hangul/hangulctype.c
@@ -1344,7 +1344,7 @@ hangul_syllable_to_jaso(ucschar syllable,
ucschar* jungseong,
ucschar* jongseong)
{
- return hangul_syllable_to_jamo(syllable, choseong, jungseong, jongseong);
+ hangul_syllable_to_jamo(syllable, choseong, jungseong, jongseong);
}
static inline bool
diff --git a/hangul/hangulinputcontext.c b/hangul/hangulinputcontext.c
index 0915c76..cad64fb 100644
--- a/hangul/hangulinputcontext.c
+++ b/hangul/hangulinputcontext.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <ctype.h>
#include <inttypes.h>
#include <limits.h>