]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Portability fix: remo^Cd unused code from smblib
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 11 Jan 2011 22:25:34 +0000 (23:25 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 11 Jan 2011 22:25:34 +0000 (23:25 +0100)
lib/smblib/smblib-util.c

index affee554f268ba50cc77f333091ffe892eb112c5..b556be0b38dd3531bd356f03e42f0cf6e9fd70e0 100644 (file)
@@ -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                       */