diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-10 05:06:41 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2005-02-10 05:06:41 +0000 |
commit | 1c2f03139a43e3d61cb0de5416e5b33676da92ae (patch) | |
tree | 52955e793b9d1e86ed56cf9d6fac410b36d6dbeb | |
parent | ac53171fe380e7c78f899bee871b93f395b0cd54 (diff) | |
download | samba-1c2f03139a43e3d61cb0de5416e5b33676da92ae.tar.gz samba-1c2f03139a43e3d61cb0de5416e5b33676da92ae.tar.xz samba-1c2f03139a43e3d61cb0de5416e5b33676da92ae.zip |
r5297: ensure pstring is not in the generated prototypes
-rw-r--r-- | source/lib/charcnv.c | 5 | ||||
-rw-r--r-- | source/lib/util.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/source/lib/charcnv.c b/source/lib/charcnv.c index d5727feb2c9..4cf5d004657 100644 --- a/source/lib/charcnv.c +++ b/source/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/source/lib/util.c b/source/lib/util.c index 9341a011af3..dba2dbfe879 100644 --- a/source/lib/util.c +++ b/source/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; |