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

index 2364cebd40c3629db92bb2d2536ed3f8388d7ecf..45ff27a88d1f519bc0d5d4c441c1a2c6e24dcbd3 100644 (file)
@@ -55,8 +55,6 @@ const char *SMB_Prots[] = {"PC NETWORK PROGRAM 1.0",
                            NULL
                           };
 
-int SMB_Term(void);
-int SMBlib_Set_Sock_NoDelay(SMB_Handle_Type Con_Handle, BOOL yn);
 
 /* Initialize the SMBlib package     */
 
@@ -79,20 +77,6 @@ int SMB_Init()
 
 }
 
-int SMB_Term()
-
-{
-
-#ifdef SMBLIB_INSTRUMENT
-
-    SMBlib_Instrument_Term();       /* Clean up and print results */
-
-#endif
-
-    return 0;
-
-}
-
 /* SMB_Create: Create a connection structure and return for later use */
 /* We have other helper routines to set variables                     */
 
@@ -105,24 +89,6 @@ SMB_Handle_Type SMB_Create_Con_Handle()
 
 }
 
-int SMBlib_Set_Sock_NoDelay(SMB_Handle_Type Con_Handle, BOOL yn)
-
-{
-
-
-    if (RFCNB_Set_Sock_NoDelay(Con_Handle -> Trans_Connect, yn) < 0) {
-
-#ifdef DEBUG
-#endif
-
-        fprintf(stderr, "Setting no-delay on TCP socket failed ...\n");
-
-    }
-
-    return(0);
-
-}
-
 /* SMB_Connect_Server: Connect to a server, but don't negotiate protocol */
 /* or anything else ...                                                  */