summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-12 19:40:33 +0000
committerJeremy Allison <jra@samba.org>1998-11-12 19:40:33 +0000
commit609f348217371a87f3a467bde307c3beb3ec27ff (patch)
tree0ae43506848bacbf29fabcbeb50ee8a760188075 /source3/include
parent1960082517daa67d1869c7bbbd93df8f6f54854c (diff)
downloadsamba-609f348217371a87f3a467bde307c3beb3ec27ff.tar.gz
samba-609f348217371a87f3a467bde307c3beb3ec27ff.tar.bz2
samba-609f348217371a87f3a467bde307c3beb3ec27ff.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/kanji.h8
1 files changed, 4 insertions, 4 deletions
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);