Skip to contentSkip to conversation

Squash warning in net/ipv4/route.c

TRIVIAL David Gibson 2 participants 2 messages Nov 5, 2002

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

This squashes an "implicit declaration of xfrm_init()" warning.

include/net/xfrm.h renamed from home/dgibson/kernel/linuxppc-2.5/include/net/xfrm.h +1 -0
diff -urN /home/dgibson/kernel/linuxppc-2.5/include/net/xfrm.h linux-bluefish/include/net/xfrm.h
@@ -377,6 +377,7 @@
 extern void xfrm_replay_advance(struct xfrm_state *x, u32 seq);
 extern int xfrm_check_selectors(struct xfrm_state **x, int n, struct flowi *fl);
 extern int xfrm4_rcv(struct sk_buff *skb);
+extern void xfrm_init(void);
 
 
 extern wait_queue_head_t *km_waitq;
net/ipv4/route.c renamed from home/dgibson/kernel/linuxppc-2.5/net/ipv4/route.c +1 -0
diff -urN /home/dgibson/kernel/linuxppc-2.5/net/ipv4/route.c linux-bluefish/net/ipv4/route.c
@@ -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
Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson
#1 lore raw

From: David Gibson <[email protected]>
Date: Tue, 5 Nov 2002 17:10:19 +1100

This squashes an "implicit declaration of xfrm_init()" warning.

Yes, known and fixed in my tree. I didn't push to Linus in time for 2.5.46 because kernel.org was sick :-)