patch-1.3.53 linux/fs/smbfs/proc.c

Next file: linux/include/asm-i386/bugs.h
Previous file: linux/fs/smbfs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.52/linux/fs/smbfs/proc.c linux/fs/smbfs/proc.c
@@ -32,6 +32,11 @@
 void smb_printerr(int class, int num);
 static int smb_request_ok(struct smb_server *s, int command, int wct, int bcc);
 
+static inline int min(int a, int b)
+{
+	return a<b ? a : b;
+}
+
 /*****************************************************************************/
 /*                                                                           */
 /*  Encoding/Decoding section                                                */

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this