errors in tcp.h

From: Herbert Rosmanith (herp@wildsau.idv-edu.uni-linz.ac.at)
Date: Thu Sep 06 2001 - 06:05:50 EST


/root/linux-2.4.9/include/net/tcp.h:922:72: macro "min" passed 3 arguments, but takes just 2
In file included from slhc.c:75:
/root/linux-2.4.9/include/net/tcp.h: In function `tcp_initialize_rcv_mss':
/root/linux-2.4.9/include/net/tcp.h:922: `min' undeclared (first use in this function)
/root/linux-2.4.9/include/net/tcp.h:922: (Each undeclared identifier is reported only once
/root/linux-2.4.9/include/net/tcp.h:922: for each function it appears in.)
/root/linux-2.4.9/include/net/tcp.h:924:53: macro "min" passed 3 arguments, but takes just 2
/root/linux-2.4.9/include/net/tcp.h:926: warning: implicit declaration of function `max'
/root/linux-2.4.9/include/net/tcp.h:926: parse error before "unsigned"
/root/linux-2.4.9/include/net/tcp.h:928:55: macro "min" passed 3 arguments, but takes just 2
In file included from slhc.c:75:
/root/linux-2.4.9/include/net/tcp.h: In function `tcp_recalc_ssthresh':
/root/linux-2.4.9/include/net/tcp.h:1080: parse error before "u32"
/root/linux-2.4.9/include/net/tcp.h: In function `tcp_current_ssthresh':
/root/linux-2.4.9/include/net/tcp.h:1092: parse error before "u32"
In file included from slhc.c:75:
/root/linux-2.4.9/include/net/tcp.h:1130:57: macro "min" passed 3 arguments, but takes just 2
/root/linux-2.4.9/include/net/tcp.h: In function `__tcp_enter_cwr':
/root/linux-2.4.9/include/net/tcp.h:1130: `min' undeclared (first use in this function)
/root/linux-2.4.9/include/net/tcp.h:1496:46: macro "min" passed 3 arguments, but takes just 2
/root/linux-2.4.9/include/net/tcp.h: In function `tcp_select_initial_window':
/root/linux-2.4.9/include/net/tcp.h:1496: `min' undeclared (first use in this function)
/root/linux-2.4.9/include/net/tcp.h:1508:52: macro "min" passed 3 arguments, but takes just 2
/root/linux-2.4.9/include/net/tcp.h:1517: parse error before "unsigned"
/root/linux-2.4.9/include/net/tcp.h:1535:73: macro "min" passed 3 arguments, but takes just 2
/root/linux-2.4.9/include/net/tcp.h:1701:68: macro "min" passed 3 arguments, but takes just 2
/root/linux-2.4.9/include/net/tcp.h: In function `tcp_moderate_sndbuf':
/root/linux-2.4.9/include/net/tcp.h:1701: `min' undeclared (first use in this function)
/root/linux-2.4.9/include/net/tcp.h:1702: parse error before "int"
make[3]: *** [slhc.o] Error 1
make[3]: Leaving directory `/root/linux-2.4.9/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/root/linux-2.4.9/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/root/linux-2.4.9/drivers'
make: *** [_dir_drivers] Error 2

I know how to fix it, but hey ...
those new macros surely do a good job
in fixing all those nasty bugs.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:34 EST