summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifile.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-06 18:23:52 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-07 19:16:27 +0200
commited99caded241925dbd8beee5bb57ba2d4a3b1c5e (patch)
treeee21cc161780ddc4b1d07e1b32c45216c32db158 /source3/libsmb/clifile.c
parent9a350ca3b6ddcebff67bad87210adf1be5f5a725 (diff)
downloadsamba-ed99caded241925dbd8beee5bb57ba2d4a3b1c5e.tar.gz
samba-ed99caded241925dbd8beee5bb57ba2d4a3b1c5e.tar.bz2
samba-ed99caded241925dbd8beee5bb57ba2d4a3b1c5e.zip
s3:libsmb: make trans2_bytes_push_str() non-static
We should use this and get rid of clistr_push(). metze
Diffstat (limited to 'source3/libsmb/clifile.c')
-rw-r--r--source3/libsmb/clifile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index eab278f1c3..9bb83ec9c6 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -128,9 +128,9 @@ uint8_t *smb_bytes_push_bytes(uint8_t *buf, uint8_t prefix,
other modules use async trans calls.
***********************************************************/
-static uint8_t *trans2_bytes_push_str(uint8_t *buf, bool ucs2,
- const char *str, size_t str_len,
- size_t *pconverted_size)
+uint8_t *trans2_bytes_push_str(uint8_t *buf, bool ucs2,
+ const char *str, size_t str_len,
+ size_t *pconverted_size)
{
return internal_bytes_push_str(buf, ucs2, str, str_len,
false, pconverted_size);