]> www.wagner.pp.ru Git - oss/catdoc.git/blobdiff - src/charsets.c
Fixed incorrect handling of NULLs in check_charset
[oss/catdoc.git] / src / charsets.c
index eda5cb4caa24e413357b779c229cd8e5150766bb..5c58c7623c5ebd88eaa6b687a7371b9607284b86 100644 (file)
@@ -69,7 +69,7 @@ CHARSET make_reverse_map(short int *charset) {
 /************************************************************************/
 /* Reads charset file (as got from ftp.unicode.org) and returns array of*/
 /* 256 short ints (malloced) mapping from charset t unicode             */
-/************************************************************************/int * read_charset(const char *filename) {
+/************************************************************************/
 uint16_t * read_charset(const char *filename) {
        char *path;
        FILE *f;