From e3aae721a7d5c8130448d67feb3a9200e14393ac Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 10 Feb 2005 05:06:41 +0000 Subject: r5297: ensure pstring is not in the generated prototypes (This used to be commit b4103d9f2b809408572521f385d4e7a5ba412169) --- source4/lib/charcnv.c | 5 ----- source4/lib/util.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'source4') 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; -- cgit