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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux