From: Francesco Chemolli Date: Tue, 11 Jan 2011 22:25:34 +0000 (+0100) Subject: Portability fix: remo^Cd unused code from smblib X-Git-Tag: take03^2~62^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20a423f312b825176929738ac4c449dc4d56cb7a;p=thirdparty%2Fsquid.git Portability fix: remo^Cd unused code from smblib --- diff --git a/lib/smblib/smblib-util.c b/lib/smblib/smblib-util.c index affee554f2..b556be0b38 100644 --- a/lib/smblib/smblib-util.c +++ b/lib/smblib/smblib-util.c @@ -48,11 +48,13 @@ int SMB_Types[] = {SMB_P_Core, -1 }; +#if UNDEFINED char *SMB_DOSTimToStr(int DOS_time); char *SMB_AtrToStr(int attribs, BOOL verbose); int SMB_Get_Tree_MBS(SMB_Tree_Handle tree); int SMB_Get_Max_Buf_Siz(SMB_Handle_Type Con_Handle); int SMB_Get_Protocol_IDX(SMB_Handle_Type Con_Handle); +#endif /* UNDEFINED */ int SMB_Get_Protocol(SMB_Handle_Type Con_Handle); int SMB_Figure_Protocol(const char *dialects[], int prot_index); int SMB_TreeDisconnect(SMB_Tree_Handle Tree_Handle, BOOL discard); @@ -80,6 +82,7 @@ void SMB_Print_Pkt(FILE fd, RFCNB_Pkt *pkt, BOOL command, int Offset, int Len) /* Convert a DOS Date_Time to a local host type date time for printing */ +#if UNDEFINED char *SMB_DOSTimToStr(int DOS_time) { @@ -172,6 +175,7 @@ int SMB_Get_Protocol_IDX(SMB_Handle_Type Con_Handle) } } +#endif /* UNDEFINED */ /* Pick up the protocol from the connection structure */