summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-12 15:22:12 +1000
committerAndrew Tridgell <tridge@samba.org>2011-04-13 14:47:06 +1000
commitb6a8418ff6918e6c01d603f69e28167fbcd91dee (patch)
tree68246319ec290767783b5074033b9b859dbe1a5d
parent380bd493bb02744dfd4e88a875d3beabb3c784f8 (diff)
downloadsamba-b6a8418ff6918e6c01d603f69e28167fbcd91dee.tar.gz
samba-b6a8418ff6918e6c01d603f69e28167fbcd91dee.tar.bz2
samba-b6a8418ff6918e6c01d603f69e28167fbcd91dee.zip
s3-lib: Remove unused pull_ucs2_fstring()
Signed-off-by: Andrew Tridgell <tridge@samba.org>
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/lib/fstring.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 89a6a059aa..d17da5355e 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -100,7 +100,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_fstring(char *dest, const void *src);
bool push_ucs2_talloc(TALLOC_CTX *ctx, smb_ucs2_t **dest, const char *src,
size_t *converted_size);
bool pull_utf8_talloc(TALLOC_CTX *ctx, char **dest, const char *src,
diff --git a/source3/lib/fstring.c b/source3/lib/fstring.c
index b0a30b52cc..daf4f7ba34 100644
--- a/source3/lib/fstring.c
+++ b/source3/lib/fstring.c
@@ -108,7 +108,3 @@ size_t push_utf8_fstring(void *dest, const char *src)
return push_utf8(dest, src, sizeof(fstring), STR_TERMINATE);
}
-size_t pull_ucs2_fstring(char *dest, const void *src)
-{
- return pull_ucs2(NULL, dest, src, sizeof(fstring), -1, STR_TERMINATE);
-}