diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-03 12:25:29 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-03 07:37:07 +0200 |
commit | 7c083caf741d4f12cdf630026e02d9f07a64d0fb (patch) | |
tree | 54dcc452a2f8198f2a5205429fc88e588f1cd809 /source3 | |
parent | 2742ec0e34c06ded2885aa2607f1c1729a57b034 (diff) | |
download | samba-7c083caf741d4f12cdf630026e02d9f07a64d0fb.tar.gz samba-7c083caf741d4f12cdf630026e02d9f07a64d0fb.tar.bz2 samba-7c083caf741d4f12cdf630026e02d9f07a64d0fb.zip |
s3-lib make push_ucs2() static
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/lib/charcnv.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 3c2e30d6be..086ba6c557 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -93,7 +93,6 @@ size_t push_ascii_nstring(void *dest, const char *src); size_t pull_ascii(char *dest, const void *src, size_t dest_len, size_t src_len, int flags); size_t pull_ascii_fstring(char *dest, const void *src); size_t pull_ascii_nstring(char *dest, size_t dest_len, const void *src); -size_t push_ucs2(const void *base_ptr, void *dest, const char *src, size_t dest_len, int flags); size_t push_string_check_fn(void *dest, const char *src, size_t dest_len, int flags); size_t push_string_base(const char *base, uint16 flags2, diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index 7bf8c1db26..6b667502da 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -345,7 +345,7 @@ static size_t pull_ascii_base_talloc(TALLOC_CTX *ctx, * destination. **/ -size_t push_ucs2(const void *base_ptr, void *dest, const char *src, size_t dest_len, int flags) +static size_t push_ucs2(const void *base_ptr, void *dest, const char *src, size_t dest_len, int flags) { size_t len=0; size_t src_len; |