Skip to contentSkip to conversation

2.5.45 net: warning + patch

PATCH Randy.Dunlap 1 participant 1 message Oct 31, 2002

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

gcc -Wp,-MD,net/sunrpc/.clnt.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DKBUILD_BASENAME=clnt -c -o net/sunrpc/clnt.o net/sunrpc/clnt.c
net/ipv4/route.c: In function `ip_rt_init':
net/ipv4/route.c:2544: warning: implicit declaration of function `xfrm_init'

and one patch is:

include/net/xfrm.h Wed Oct 30 20:58:29 2002 renamed from include/net/xfrm.h%syntax Wed Oct 30 16:42:22 2002 +1 -0
@@ -384,3 +384,4 @@
 extern int km_query(struct xfrm_state *x);
 
 extern int ah4_init(void);
+extern void xfrm_init(void);
net/ipv4/route.c Wed Oct 30 21:08:52 2002 renamed from net/ipv4/route.c%syntax Wed Oct 30 16:43:45 2002 +1 -0
@@ -94,6 +94,7 @@
 #include <net/arp.h>
 #include <net/tcp.h>
 #include <net/icmp.h>
+#include <net/xfrm.h>
 #ifdef CONFIG_SYSCTL
 #include <linux/sysctl.h>
 #endif

~Randy