diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-07-22 22:15:23 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-07-25 16:59:41 +0200 |
commit | c6d4f4e1799022247bc3846a3b29068f673655e1 (patch) | |
tree | 310a7299d5ead3581471887632c1aef69d2d9777 /misc.h | |
parent | f46a46557d3fe72843a3b1bf2f18d48b44534862 (diff) | |
download | slirp-c6d4f4e1799022247bc3846a3b29068f673655e1.zip slirp-c6d4f4e1799022247bc3846a3b29068f673655e1.tar.gz slirp-c6d4f4e1799022247bc3846a3b29068f673655e1.tar.bz2 |
slirp: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types
There is no need to have a second set of integral types.
Replace them by the standard types from stdint.h.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -37,24 +37,24 @@ void do_wait(int); #define EMU_NOCONNECT 0x10 /* Don't connect */ struct tos_t { - u_int16_t lport; - u_int16_t fport; - u_int8_t tos; - u_int8_t emu; + uint16_t lport; + uint16_t fport; + uint8_t tos; + uint8_t emu; }; struct emu_t { - u_int16_t lport; - u_int16_t fport; - u_int8_t tos; - u_int8_t emu; + uint16_t lport; + uint16_t fport; + uint8_t tos; + uint8_t emu; struct emu_t *next; }; extern int x_port, x_server, x_display; int show_x(char *, struct socket *); -void redir_x(u_int32_t, int, int, int); +void redir_x(uint32_t, int, int, int); void slirp_insque(void *, void *); void slirp_remque(void *); int add_exec(struct ex_list **, int, char *, struct in_addr, int); |