diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-07-22 22:15:24 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-07-25 16:59:41 +0200 |
commit | 01d0c69458a527ac4a8249fac8a1316a6e90c493 (patch) | |
tree | c07f1d56a94b3af93fe6266cf9f26afac64ba30b /slirp.h | |
parent | c6d4f4e1799022247bc3846a3b29068f673655e1 (diff) | |
download | slirp-01d0c69458a527ac4a8249fac8a1316a6e90c493.zip slirp-01d0c69458a527ac4a8249fac8a1316a6e90c493.tar.gz slirp-01d0c69458a527ac4a8249fac8a1316a6e90c493.tar.bz2 |
slirp: Remove declarations which are no longer neededv0.13.0-rc3v0.13.0-rc2v0.13.0-rc1v0.13.0-rc0v0.13.0
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 <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'slirp.h')
-rw-r--r-- | slirp.h | 33 |
1 files changed, 0 insertions, 33 deletions
@@ -7,10 +7,6 @@ #ifdef _WIN32 #include <inttypes.h> -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 <windows.h> @@ -38,35 +34,6 @@ typedef char *caddr_t; #include <sys/time.h> -#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 <unistd.h> #endif |