From 20a423f312b825176929738ac4c449dc4d56cb7a Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Tue, 11 Jan 2011 23:25:34 +0100 Subject: [PATCH] Portability fix: remo^Cd unused code from smblib --- lib/smblib/smblib-util.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.47.2