aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-11-14 16:36:37 +0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-14 00:44:10 +0100
commit3a600d111a41d93da5e9ca04954ab64bd5107f1d (patch)
treea837224bf02a7a0b1149bd6fead6d55421e3ba58
parent467bf528beb5cbf63d14cd8121b2eb37fcc82d54 (diff)
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>
-rw-r--r--slirp/slirp.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index d1b6bcefbb..fdf397256b 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -199,10 +199,6 @@ struct Slirp {
void *opaque;
};
-#ifndef NULL
-#define NULL (void *)0
-#endif
-
void if_start(Slirp *);
int get_dns_addr(struct in_addr *pdns_addr);