diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-25 11:43:43 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-12-25 13:31:58 +0100 |
commit | b2eaa9afd367fd6652a6bbc28b0746be168162ef (patch) | |
tree | bd8cc15e0c7f3561ec6575e95fc5a9042b1e415c /lib | |
parent | 2b75e877fb85f212f5250acb026505a7c7b1fc0c (diff) | |
download | samba-b2eaa9afd367fd6652a6bbc28b0746be168162ef.tar.gz samba-b2eaa9afd367fd6652a6bbc28b0746be168162ef.tar.bz2 samba-b2eaa9afd367fd6652a6bbc28b0746be168162ef.zip |
s3: Fix fn signatures in charset_macosx.c
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/charset/charset_macosxfs.c | 8 | ||||
-rw-r--r-- | lib/util/charset/charset_proto.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/util/charset/charset_macosxfs.c b/lib/util/charset/charset_macosxfs.c index b32aa2bcd1..895277d001 100644 --- a/lib/util/charset/charset_macosxfs.c +++ b/lib/util/charset/charset_macosxfs.c @@ -206,7 +206,7 @@ static void hexdump( const char * label, const char * s, size_t len ) */ size_t macosxfs_encoding_pull( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* Script string */ + const char **inbuf, size_t *inbytesleft, /* Script string */ char **outbuf, size_t *outbytesleft) /* UTF-16-LE string */ { static const int script_code = kCFStringEncodingUTF8; @@ -328,7 +328,7 @@ size_t macosxfs_encoding_pull( size_t macosxfs_encoding_push( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ + const char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ char **outbuf, size_t *outbytesleft) /* Script string */ { static const int script_code = kCFStringEncodingUTF8; @@ -434,7 +434,7 @@ size_t macosxfs_encoding_push( */ static size_t macosxfs_encoding_pull( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* Script string */ + const char **inbuf, size_t *inbytesleft, /* Script string */ char **outbuf, size_t *outbytesleft) /* UTF-16-LE string */ { static const int script_code = kCFStringEncodingUTF8; @@ -522,7 +522,7 @@ static size_t macosxfs_encoding_pull( static size_t macosxfs_encoding_push( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ + const char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ char **outbuf, size_t *outbytesleft) /* Script string */ { static const int script_code = kCFStringEncodingUTF8; diff --git a/lib/util/charset/charset_proto.h b/lib/util/charset/charset_proto.h index 3b3187a6eb..6da7118537 100644 --- a/lib/util/charset/charset_proto.h +++ b/lib/util/charset/charset_proto.h @@ -26,11 +26,11 @@ size_t weird_pull(void *cd, const char **inbuf, size_t *inbytesleft, size_t macosxfs_encoding_pull( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* Script string */ + const char **inbuf, size_t *inbytesleft, /* Script string */ char **outbuf, size_t *outbytesleft); /* UTF-16-LE string */ size_t macosxfs_encoding_push( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ + const char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ char **outbuf, size_t *outbytesleft); /* Script string */ |