From 609f348217371a87f3a467bde307c3beb3ec27ff Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 12 Nov 1998 19:40:33 +0000 Subject: include/kanji.h include/proto.h lib/kanji.c: Added const parameters in string wrappers. printing/printing.c: Added OSF1 fix. Jeremy. (This used to be commit 9d05d80f811426f83a975d28e64c5d6b10574c25) --- source3/include/kanji.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/kanji.h b/source3/include/kanji.h index db3731e41b..1dd8f108c6 100644 --- a/source3/include/kanji.h +++ b/source3/include/kanji.h @@ -139,10 +139,10 @@ /* Ensure we use our definitions in all other files than kanji.c. */ /* Function pointers we will replace. */ -extern char *(*multibyte_strchr)(char *s, int c); -extern char *(*multibyte_strrchr)(char *s, int c); -extern char *(*multibyte_strstr)(char *s1, char *s2); -extern char *(*multibyte_strtok)(char *s1, char *s2); +extern char *(*multibyte_strchr)(const char *s, int c); +extern char *(*multibyte_strrchr)(const char *s, int c); +extern char *(*multibyte_strstr)(const char *s1, const char *s2); +extern char *(*multibyte_strtok)(char *s1, const char *s2); extern char *(*_dos_to_unix)(char *str, BOOL overwrite); extern char *(*_unix_to_dos)(char *str, BOOL overwrite); extern BOOL (*is_multibyte_char)(char c); -- cgit