2.5.45 net: warning + patch

From: Randy.Dunlap (randy.dunlap@verizon.net)
Date: Thu Oct 31 2002 - 00:13:10 EST


  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%syntax Wed Oct 30 16:42:22 2002
+++ ./include/net/xfrm.h Wed Oct 30 20:58:29 2002
@@ -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%syntax Wed Oct 30 16:43:45 2002
+++ ./net/ipv4/route.c Wed Oct 30 21:08:52 2002
@@ -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
-
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 : Thu Oct 31 2002 - 22:00:52 EST