]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-lib: make pull_ucs2_base_talloc static
authorAndrew Tridgell <tridge@samba.org>
Thu, 24 Mar 2011 01:09:03 +0000 (12:09 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 25 Mar 2011 03:37:06 +0000 (04:37 +0100)
it is local to charcnv.c

source3/include/proto.h
source3/lib/charcnv.c

index 3c454460f23196dd2d362a1c36a650407672a2bd..e797b14b16ad645e8f3fed604168c9d3e71493bb 100644 (file)
@@ -434,12 +434,6 @@ size_t push_utf8_fstring(void *dest, const char *src);
 bool push_utf8_talloc(TALLOC_CTX *ctx, char **dest, const char *src,
                      size_t *converted_size);
 size_t pull_ucs2(const void *base_ptr, char *dest, const void *src, size_t dest_len, size_t src_len, int flags);
-size_t pull_ucs2_base_talloc(TALLOC_CTX *ctx,
-                       const void *base_ptr,
-                       char **ppdest,
-                       const void *src,
-                       size_t src_len,
-                       int flags);
 size_t pull_ucs2_fstring(char *dest, const void *src);
 bool push_ucs2_talloc(TALLOC_CTX *ctx, smb_ucs2_t **dest, const char *src,
                      size_t *converted_size);
index d2633bd8adf7519514ff2d394813c50e42c18693..1f698c6288f58c67eaaa6a3c94d9370357883732 100644 (file)
@@ -1014,12 +1014,12 @@ size_t pull_ucs2(const void *base_ptr, char *dest, const void *src, size_t dest_
  The resulting string in "dest" is always null terminated.
 **/
 
-size_t pull_ucs2_base_talloc(TALLOC_CTX *ctx,
-                            const void *base_ptr,
-                            char **ppdest,
-                            const void *src,
-                            size_t src_len,
-                            int flags)
+static size_t pull_ucs2_base_talloc(TALLOC_CTX *ctx,
+                                   const void *base_ptr,
+                                   char **ppdest,
+                                   const void *src,
+                                   size_t src_len,
+                                   int flags)
 {
        char *dest;
        size_t dest_len;