[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v3 22/32] Mini-OS: add EXPORT_SYMBOL() instances to lwip-*.c
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@xxxxxxxx> --- V3: - new patch --- lwip-arch.c | 9 +++++++++ lwip-net.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lwip-arch.c b/lwip-arch.c index 21e941e9..7907f446 100644 --- a/lwip-arch.c +++ b/lwip-arch.c @@ -12,7 +12,9 @@ #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) @@ -293,3 +295,10 @@ void lwip_die(char *fmt, ...) printk("\n"); BUG(); } + +EXPORT_SYMBOL(htonl); +EXPORT_SYMBOL(htons); +EXPORT_SYMBOL(inet_aton); +EXPORT_SYMBOL(inet_ntoa); +EXPORT_SYMBOL(ntohl); +EXPORT_SYMBOL(ntohs); diff --git a/lwip-net.c b/lwip-net.c index 16950d32..e71a11c7 100644 --- a/lwip-net.c +++ b/lwip-net.c @@ -250,7 +250,7 @@ void networking_set_addr(struct ip_addr *ipaddr, struct ip_addr *netmask, struct netif_set_netmask(the_interface, netmask); netif_set_gw(the_interface, gw); } - +EXPORT_SYMBOL(networking_set_addr); static void arp_timer(void *arg) -- 2.35.3
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |