summaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r--net/ipv6/udp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 1f0fb8ce5..f18f5a6f8 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -7,7 +7,7 @@
*
* Based on linux/ipv4/udp.c
*
- * $Id: udp.c,v 1.16 1997/04/11 22:22:57 davem Exp $
+ * $Id: udp.c,v 1.17 1997/04/29 09:38:55 mj Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -26,6 +26,7 @@
#include <linux/if_arp.h>
#include <linux/ipv6.h>
#include <linux/icmpv6.h>
+#include <linux/init.h>
#include <net/sock.h>
#include <net/snmp.h>
@@ -770,7 +771,7 @@ struct proto udpv6_prot = {
0 /* highestinuse */
};
-void udpv6_init(void)
+__initfunc(void udpv6_init(void))
{
inet6_add_protocol(&udpv6_protocol);
}