Add the needed instances of EXPORT_SYMBOL() to lwip-*.c.
Most added symbols are in LWIP, but we can't add the EXPORT_SYMBOL()
instances easily there.
Signed-off-by: Juergen Gross <jgross@suse.com>
#include <console.h>
#include <xmalloc.h>
#include <lwip/sys.h>
+#include <lwip/inet.h>
#include <stdarg.h>
+#include <mini-os/export.h>
/* Is called to initialize the sys_arch layer */
void sys_init(void)
printk("\n");
BUG();
}
+
+EXPORT_SYMBOL(htonl);
+EXPORT_SYMBOL(htons);
+EXPORT_SYMBOL(inet_aton);
+EXPORT_SYMBOL(inet_ntoa);
+EXPORT_SYMBOL(ntohl);
+EXPORT_SYMBOL(ntohs);
netif_set_netmask(the_interface, netmask);
netif_set_gw(the_interface, gw);
}
-
+EXPORT_SYMBOL(networking_set_addr);
static void
arp_timer(void *arg)