Received: from [140.186.70.92] (port=51332 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oc2BM-0001TL-WA for qemu-devel@nongnu.org; Thu, 22 Jul 2010 16:15:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oc2BL-0001NL-QL for qemu-devel@nongnu.org; Thu, 22 Jul 2010 16:15:52 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:49645) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc2BL-0001Lh-IT for qemu-devel@nongnu.org; Thu, 22 Jul 2010 16:15:51 -0400 From: Stefan Weil Date: Thu, 22 Jul 2010 22:15:24 +0200 Message-Id: <1279829724-18604-5-git-send-email-weil@mail.berlios.de> In-Reply-To: <1279829724-18604-1-git-send-email-weil@mail.berlios.de> References: <1279829724-18604-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH 4/4] slirp: Remove declarations which are no longer needed List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers The previous patches replaced u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types from stdint.h, so we can now remove their declarations which are no longer needed. Signed-off-by: Stefan Weil --- slirp/slirp.h | 33 --------------------------------- 1 files changed, 0 insertions(+), 33 deletions(-) diff --git a/slirp/slirp.h b/slirp/slirp.h index 79d9ecb..3a5d592 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -7,10 +7,6 @@ #ifdef _WIN32 # include -typedef uint8_t u_int8_t; -typedef uint16_t u_int16_t; -typedef uint32_t u_int32_t; -typedef uint64_t u_int64_t; typedef char *caddr_t; # include @@ -38,35 +34,6 @@ typedef char *caddr_t; #include -#ifdef NEED_TYPEDEFS -typedef char int8_t; -typedef unsigned char u_int8_t; - -# if SIZEOF_SHORT == 2 - typedef short int16_t; - typedef unsigned short u_int16_t; -# else -# if SIZEOF_INT == 2 - typedef int int16_t; - typedef unsigned int u_int16_t; -# else - #error Cannot find a type with sizeof() == 2 -# endif -# endif - -# if SIZEOF_SHORT == 4 - typedef short int32_t; - typedef unsigned short u_int32_t; -# else -# if SIZEOF_INT == 4 - typedef int int32_t; - typedef unsigned int u_int32_t; -# else - #error Cannot find a type with sizeof() == 4 -# endif -# endif -#endif /* NEED_TYPEDEFS */ - #ifdef HAVE_UNISTD_H # include #endif -- 1.7.1