diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/charcnv.c | 5 | ||||
-rw-r--r-- | source4/lib/util.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/source4/lib/charcnv.c b/source4/lib/charcnv.c index d5727feb2c..4cf5d00465 100644 --- a/source4/lib/charcnv.c +++ b/source4/lib/charcnv.c @@ -508,11 +508,6 @@ size_t pull_ucs2(char *dest, const void *src, size_t dest_len, size_t src_len, i return src_len; } -ssize_t pull_ucs2_pstring(char *dest, const void *src) -{ - return pull_ucs2(dest, src, sizeof(pstring), -1, STR_TERMINATE); -} - /** * Copy a string from a UCS2 src to a unix char * destination, allocating a buffer using talloc * diff --git a/source4/lib/util.c b/source4/lib/util.c index 9341a011af..dba2dbfe87 100644 --- a/source4/lib/util.c +++ b/source4/lib/util.c @@ -310,7 +310,7 @@ BOOL get_myfullname(char *my_name) Get my own domain name. ****************************************************************************/ -BOOL get_mydomname(fstring my_domname) +BOOL get_mydomname(char *my_domname) { pstring hostname; char *p; |