From f9a686d424f912154ffe8b7d5eb235032777a16f Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Thu, 15 Apr 2010 09:05:21 +0000 Subject: pTeX: avoid compiler warnings git-svn-id: svn://tug.org/texlive/trunk@17875 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/mendexk/kp.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'Build/source/texk/mendexk/kp.h') diff --git a/Build/source/texk/mendexk/kp.h b/Build/source/texk/mendexk/kp.h index f304b2c2542..3f4ba5880b2 100644 --- a/Build/source/texk/mendexk/kp.h +++ b/Build/source/texk/mendexk/kp.h @@ -3,15 +3,18 @@ #define KSUPPORT_H_INCLUDED #ifdef KPATHSEA typedef struct { - char *var_name; - char *path; - char *suffix; + const char *var_name; + const char *path; + const char *suffix; } KpathseaSupportInfo; -extern int KP_init(); -extern int KP_entry_filetype(); -extern char *KP_find_file(); -extern char *KP_get_value(); -extern char *KP_get_path(); +extern int KP_init(char *); +extern int KP_entry_filetype(KpathseaSupportInfo *); +extern const char *KP_find_file(KpathseaSupportInfo *, const char *); +#ifdef KPATHSEA3 +extern const char *KP_get_value(const char *, const char *); +#else +extern const char *KP_get_value(const char *, const char *, const char *); +#endif #endif /* KPATHSEA */ #endif /* ! KSUPPORT_H_INCLUDED */ -- cgit v1.2.3