PROBLEM: rtnetlink.c might not compile properly before it's changed

From: Aki Tossavainen (cmouse@quakenet.org)
Date: Mon May 19 2003 - 22:40:29 EST


When using gcc-3.3.3, the file rtnetlink.c might get compiled wrong. This
can be easily fixed without causing any problems in compilation. I've
tested this myself.

rtnetlink.c

OLD:
extern __inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)

NEW:
__inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)

Apparently gcc interprepts the extern keyword so that the function is not
defined in the rtnetlink.o.

Output of ver_linux:
--------------------
Linux kiho 2.4.20-grsec #7 SMP Mon May 19 17:19:32 EEST 2003 i686
GNU/Linux

Gnu C 3.3
Gnu make 3.80
util-linux 2.11z
mount 2.11z
modutils 2.4.21
e2fsprogs 1.33
Linux C Library 2.3.1
Dynamic linker (ldd) 2.3.1
Procps 3.1.8
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 5.0

Aki Tossavainen
cmouse@quakenet.org

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



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:02 EST