mirror of https://github.com/xemu-project/xemu.git
slirp: NULL is defined by stddef.h
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
parent
467bf528be
commit
3a600d111a
|
@ -199,10 +199,6 @@ struct Slirp {
|
||||||
void *opaque;
|
void *opaque;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef NULL
|
|
||||||
#define NULL (void *)0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void if_start(Slirp *);
|
void if_start(Slirp *);
|
||||||
|
|
||||||
int get_dns_addr(struct in_addr *pdns_addr);
|
int get_dns_addr(struct in_addr *pdns_addr);
|
||||||
|
|
Loading…
Reference in New Issue