diff --git a/include/net/slirp.h b/include/net/slirp.h index bad3e1e241..eaf036c86b 100644 --- a/include/net/slirp.h +++ b/include/net/slirp.h @@ -32,6 +32,10 @@ void hmp_hostfwd_remove(Monitor *mon, const QDict *qdict); void hmp_info_usernet(Monitor *mon, const QDict *qdict); +#ifdef XBOX +void *slirp_get_state_from_netdev(const char *id); +#endif + #endif #endif /* QEMU_NET_SLIRP_H */ diff --git a/ui/xemu-net.c b/ui/xemu-net.c index d7dbd5de11..606109efcc 100644 --- a/ui/xemu-net.c +++ b/ui/xemu-net.c @@ -42,8 +42,6 @@ static const char *id = "xemu-netdev"; static const char *id_hubport = "xemu-netdev-hubport"; -void *slirp_get_state_from_netdev(const char *id); - void xemu_net_enable(void) { Error *local_err = NULL;