mirror of https://github.com/xemu-project/xemu.git
net/slirp: Move prototype def into slirp.h
This commit is contained in:
parent
212988421f
commit
816c875ac4
|
@ -32,6 +32,10 @@ void hmp_hostfwd_remove(Monitor *mon, const QDict *qdict);
|
||||||
|
|
||||||
void hmp_info_usernet(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
|
||||||
|
|
||||||
#endif /* QEMU_NET_SLIRP_H */
|
#endif /* QEMU_NET_SLIRP_H */
|
||||||
|
|
|
@ -42,8 +42,6 @@
|
||||||
static const char *id = "xemu-netdev";
|
static const char *id = "xemu-netdev";
|
||||||
static const char *id_hubport = "xemu-netdev-hubport";
|
static const char *id_hubport = "xemu-netdev-hubport";
|
||||||
|
|
||||||
void *slirp_get_state_from_netdev(const char *id);
|
|
||||||
|
|
||||||
void xemu_net_enable(void)
|
void xemu_net_enable(void)
|
||||||
{
|
{
|
||||||
Error *local_err = NULL;
|
Error *local_err = NULL;
|
||||||
|
|
Loading…
Reference in New Issue