summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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);
-}