From 4674da1c49d07e5159775cd731f947c9fe2f3b83 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 23 Feb 2016 14:18:29 +0000 Subject: slirp/slirp.h: Remove now-empty #ifdefs After automatic cleanup to remove unnecessary #includes of headers that osdep.h provides, slirp.h has a few now unnecessary #ifdef/#endif pairs; remove them. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake Reviewed-by: Thomas Huth Message-id: 1456237112-32662-2-git-send-email-peter.maydell@linaro.org --- slirp/slirp.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/slirp/slirp.h b/slirp/slirp.h index 71f2439461..9ad88e7df7 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -24,28 +24,10 @@ typedef char *caddr_t; #endif -#ifdef HAVE_UNISTD_H -#endif - -#ifdef HAVE_STDLIB_H -#endif - - #ifndef HAVE_MEMMOVE #define memmove(x, y, z) bcopy(y, x, z) #endif -#if TIME_WITH_SYS_TIME -#else -# ifdef HAVE_SYS_TIME_H -# else -# endif -#endif - -#ifdef HAVE_STRING_H -#else -#endif - #ifndef _WIN32 #include #endif @@ -96,12 +78,6 @@ void free(void *ptr); #include #endif -#ifdef __STDC__ -#else -#include -#endif - - /* Avoid conflicting with the libc insque() and remque(), which have different prototypes. */ #define insque slirp_insque -- cgit v1.2.3