From b6dce92e8917762e6bf81e177b20a0b7909a0532 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 22 Jul 2010 22:15:23 +0200 Subject: 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 Signed-off-by: Aurelien Jarno --- slirp/slirp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'slirp/slirp.h') diff --git a/slirp/slirp.h b/slirp/slirp.h index 98a26442a3..79d9ecb58c 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -233,7 +233,7 @@ struct Slirp { /* ip states */ struct ipq ipq; /* ip reass. queue */ - u_int16_t ip_id; /* ip packet ctr, for ids */ + uint16_t ip_id; /* ip packet ctr, for ids */ /* bootp/dhcp states */ BOOTPClient bootp_clients[NB_BOOTP_CLIENTS]; @@ -243,7 +243,7 @@ struct Slirp { struct socket tcb; struct socket *tcp_last_so; tcp_seq tcp_iss; /* tcp initial send seq # */ - u_int32_t tcp_now; /* for RFC 1323 timestamps */ + uint32_t tcp_now; /* for RFC 1323 timestamps */ /* udp states */ struct socket udb; @@ -339,7 +339,7 @@ void tcp_sockclosed(struct tcpcb *); int tcp_fconnect(struct socket *); void tcp_connect(struct socket *); int tcp_attach(struct socket *); -u_int8_t tcp_tos(struct socket *); +uint8_t tcp_tos(struct socket *); int tcp_emu(struct socket *, struct mbuf *); int tcp_ctl(struct socket *); struct tcpcb *tcp_drop(struct tcpcb *tp, int err); -- cgit v1.2.3