lkml.org 
[lkml]   [1998]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectMinor patch to allow building without CONFIG_INET
Well, the subject says it all... almost.  This is vs. 2.1.98.  I've tested
build only (IE I havn't booted a kernel with this patch in it) -- but I
don't think it could cause any problems...

-=- James Mastros
--
True mastery is knowing enough to bullshit the rest.
-=- Me
--- linux/net/netsyms.c~ Sun Apr 26 23:11:36 1998
+++ linux/net/netsyms.c Sun Apr 26 23:08:53 1998
@@ -16,7 +16,6 @@
#include <linux/ioport.h>
#include <net/neighbour.h>

-#ifdef CONFIG_INET
#include <linux/ip.h>
#include <linux/etherdevice.h>
#include <linux/fddidevice.h>
@@ -34,6 +33,7 @@
#include <linux/mroute.h>
#include <linux/igmp.h>

+#ifdef CONFIG_INET
extern struct net_proto_family inet_family_ops;

#if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE)
@@ -417,12 +417,16 @@
EXPORT_SYMBOL(dev_base);
EXPORT_SYMBOL(dev_close);
EXPORT_SYMBOL(dev_mc_add);
+#ifdef CONFIG_INET
EXPORT_SYMBOL(arp_find);
+#endif
EXPORT_SYMBOL(n_tty_ioctl);
EXPORT_SYMBOL(tty_register_ldisc);
EXPORT_SYMBOL(kill_fasync);
+#ifdef CONFIG_INET
EXPORT_SYMBOL(ip_rcv);
EXPORT_SYMBOL(arp_rcv);
+#endif
EXPORT_SYMBOL(dev_mc_delete);

EXPORT_SYMBOL(if_port_text);
\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2011 Jasper Spaans