diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-12 19:40:33 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-12 19:40:33 +0000 |
commit | 9d05d80f811426f83a975d28e64c5d6b10574c25 (patch) | |
tree | 45a18a01cc3e5e0a9c84863a1d080dd790661593 /source/include | |
parent | f06bed256dfaf56bcfc1982df1d8bf8fe559f53b (diff) | |
download | samba-9d05d80f811426f83a975d28e64c5d6b10574c25.tar.gz samba-9d05d80f811426f83a975d28e64c5d6b10574c25.tar.xz samba-9d05d80f811426f83a975d28e64c5d6b10574c25.zip |
include/kanji.h include/proto.h lib/kanji.c: Added const parameters in string wrappers.
printing/printing.c: Added OSF1 fix.
Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/kanji.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/include/kanji.h b/source/include/kanji.h index db3731e41b1..1dd8f108c6c 100644 --- a/source/include/kanji.h +++ b/source/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); |