summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-20 09:44:02 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-21 08:43:00 +0200
commit6d2aaef787791fbcea9dcc6bca9e8f10d65dc746 (patch)
tree8b071a945483da5c21de32abb083d38d7362d26c /source3/lib/util.c
parente03b312b12785dc226c8f63e5d728e158fad38fd (diff)
downloadsamba-6d2aaef787791fbcea9dcc6bca9e8f10d65dc746.tar.gz
samba-6d2aaef787791fbcea9dcc6bca9e8f10d65dc746.tar.bz2
samba-6d2aaef787791fbcea9dcc6bca9e8f10d65dc746.zip
s3:include: make smb_setlen() a macro
metze
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index df82733bc1..8157c0ffd0 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -184,20 +184,6 @@ void show_msg(const char *buf)
}
/*******************************************************************
- Set the length and marker of an smb packet.
-********************************************************************/
-
-void smb_setlen(char *buf,int len)
-{
- _smb_setlen(buf,len);
-
- SCVAL(buf,4,0xFF);
- SCVAL(buf,5,'S');
- SCVAL(buf,6,'M');
- SCVAL(buf,7,'B');
-}
-
-/*******************************************************************
Setup only the byte count for a smb message.
********************************************************************/