s3:include: make smb_setlen() a macro
[ira/wip.git] / source3 / lib / util.c
index df82733bc1f94a9d903b755ebf61c0d091e3cffd..8157c0ffd0d2c6005bde8f3d6d050931d8fc206b 100644 (file)
@@ -183,20 +183,6 @@ void show_msg(const char *buf)
        dump_data(10, (const uint8 *)smb_buf_const(buf), bcc);
 }
 
-/*******************************************************************
- 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.
 ********************************************************************/