From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYDnS-0002te-Ql for qemu-devel@nongnu.org; Tue, 23 Feb 2016 09:18:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYDnR-0008Pd-WE for qemu-devel@nongnu.org; Tue, 23 Feb 2016 09:18:38 -0500 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:55916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYDnR-0008PQ-Pr for qemu-devel@nongnu.org; Tue, 23 Feb 2016 09:18:37 -0500 From: Peter Maydell Date: Tue, 23 Feb 2016 14:18:29 +0000 Message-Id: <1456237112-32662-2-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1456237112-32662-1-git-send-email-peter.maydell@linaro.org> References: <1456237112-32662-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 1/4] slirp/slirp.h: Remove now-empty #ifdefs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org 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 --- slirp/slirp.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/slirp/slirp.h b/slirp/slirp.h index 07c13b4..7cfcf63 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -26,28 +26,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 @@ -98,12 +80,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 -- 1.9.1