[TRIVIAL] Squash warning in net/ipv4/route.c

David Gibson (david@gibson.dropbear.id.au)
Tue, 5 Nov 2002 17:10:19 +1100


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

diff -urN /home/dgibson/kernel/linuxppc-2.5/include/net/xfrm.h linux-bluefish/include/net/xfrm.h
--- /home/dgibson/kernel/linuxppc-2.5/include/net/xfrm.h 2002-10-31 11:35:50.000000000 +1100
+++ linux-bluefish/include/net/xfrm.h 2002-11-05 16:50:33.000000000 +1100
@@ -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;
diff -urN /home/dgibson/kernel/linuxppc-2.5/net/ipv4/route.c linux-bluefish/net/ipv4/route.c
--- /home/dgibson/kernel/linuxppc-2.5/net/ipv4/route.c 2002-10-31 11:35:50.000000000 +1100
+++ linux-bluefish/net/ipv4/route.c 2002-11-05 16:57:43.000000000 +1100
@@ -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

-- 
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson
-
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/