net/slirp: Move prototype def into slirp.h

This commit is contained in:
Matt Borgerson 2024-12-29 17:29:37 -07:00 committed by mborgerson
parent 212988421f
commit 816c875ac4
2 changed files with 4 additions and 2 deletions

View File

@ -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 */

View File

@ -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;