texlive[41586] Build/source/texk/kpathsea: kpathsea: Avoid compiler
commits+kakuto at tug.org
commits+kakuto at tug.org
Fri Jul 1 10:19:11 CEST 2016
Revision: 41586
http://tug.org/svn/texlive?view=revision&revision=41586
Author: kakuto
Date: 2016-07-01 10:19:10 +0200 (Fri, 01 Jul 2016)
Log Message:
-----------
kpathsea: Avoid compiler warnings
Modified Paths:
--------------
trunk/Build/source/texk/kpathsea/ChangeLog
trunk/Build/source/texk/kpathsea/knj.c
trunk/Build/source/texk/kpathsea/knj.h
Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog 2016-07-01 02:33:42 UTC (rev 41585)
+++ trunk/Build/source/texk/kpathsea/ChangeLog 2016-07-01 08:19:10 UTC (rev 41586)
@@ -1,3 +1,7 @@
+2016-07-01 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
+
+ * knj.c, knj.h: Avoid compiler warnings.
+
2016-06-30 Karl Berry <karl at tug.org>
* version.ac (kpse_version): 6.2.2 => 6.2.3dev.
Modified: trunk/Build/source/texk/kpathsea/knj.c
===================================================================
--- trunk/Build/source/texk/kpathsea/knj.c 2016-07-01 02:33:42 UTC (rev 41585)
+++ trunk/Build/source/texk/kpathsea/knj.c 2016-07-01 08:19:10 UTC (rev 41586)
@@ -517,7 +517,7 @@
}
int
-kpathsea_IS_KANJI(kpathsea kpse, char *p)
+kpathsea_IS_KANJI(kpathsea kpse, const char *p)
{
int ret;
@@ -625,7 +625,7 @@
}
int
-IS_KANJI(char *p)
+IS_KANJI(const char *p)
{
return kpathsea_IS_KANJI(kpse_def, p);
}
Modified: trunk/Build/source/texk/kpathsea/knj.h
===================================================================
--- trunk/Build/source/texk/kpathsea/knj.h 2016-07-01 02:33:42 UTC (rev 41585)
+++ trunk/Build/source/texk/kpathsea/knj.h 2016-07-01 08:19:10 UTC (rev 41586)
@@ -39,7 +39,7 @@
extern KPSEDLL int kpathsea_win32_puts(kpathsea kpse, const char *str);
extern KPSEDLL int kpathsea_win32_vfprintf(kpathsea kpse, FILE *fp, const char *format, va_list argp);
extern KPSEDLL int kpathsea_win32_putc(kpathsea kpse, int c, FILE *fp);
-extern KPSEDLL int kpathsea_IS_KANJI(kpathsea kpse, char *p);
+extern KPSEDLL int kpathsea_IS_KANJI(kpathsea kpse, const char *p);
extern KPSEDLL char *kpathsea_get_fsyscp_from_wstring(kpathsea kpse, const wchar_t *w,char *mb);
extern KPSEDLL wchar_t *kpathsea_get_wstring_from_fsyscp(kpathsea kpse, const char *mb,wchar_t *w);
@@ -61,7 +61,7 @@
extern KPSEDLL int win32_puts(const char *str);
extern KPSEDLL int win32_vfprintf(FILE *fp, const char *format, va_list argp);
extern KPSEDLL int win32_putc(int c, FILE *fp);
-extern KPSEDLL int IS_KANJI(char *p);
+extern KPSEDLL int IS_KANJI(const char *p);
extern KPSEDLL char *get_fsyscp_from_wstring(const wchar_t *w,char *mb);
extern KPSEDLL wchar_t *get_wstring_from_fsyscp(const char *mb,wchar_t *w);
#endif
More information about the tex-live-commits
mailing list