patch-2.4.9 linux/net/khttpd/prototypes.h
Next file: linux/net/khttpd/rfc.c
Previous file: linux/net/khttpd/datasending.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Aug 15 01:22:18 2001
- Orig file:
v2.4.8/linux/net/khttpd/prototypes.h
- Orig date:
Mon Dec 11 13:32:10 2000
diff -u --recursive --new-file v2.4.8/linux/net/khttpd/prototypes.h linux/net/khttpd/prototypes.h
@@ -19,17 +19,6 @@
#define CONFIG_KHTTPD_NUMCPU 16 /* Maximum number of threads */
-/* the TCP/IP stack defines a __BROKEN__ set of min/max functions !! */
-/* So we better define our own. */
-
-/* Broken means: working on unsigned data only, which is not acceptable
- for kHTTPd and probably a lot of other functions. */
-
-#undef min
-#undef max
-#define min(a,b) ( (a) < (b) ? (a) : (b) )
-#define max(a,b) ( (a) > (b) ? (a) : (b) )
-
#ifdef OOPSTRACE
#define EnterFunction(x) printk("Enter: %s, %s line %i\n",x,__FILE__,__LINE__)
#define LeaveFunction(x) printk("Leave: %s, %s line %i\n",x,__FILE__,__LINE__)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)