s3-lib make push_ucs2() static
authorAndrew Bartlett <abartlet@samba.org>
Tue, 3 May 2011 02:25:29 +0000 (12:25 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 3 May 2011 05:37:07 +0000 (07:37 +0200)
source3/include/proto.h
source3/lib/charcnv.c

index 3c2e30d6becd375d80bead396387f470203e9914..086ba6c55758ee9084a840129ed9874a3670686d 100644 (file)
@@ -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,
index 7bf8c1db2667be53964872beddd1c957797544b4..6b667502da1ececd6b8f818d29bfe666a0977dcf 100644 (file)
@@ -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;