diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-04-23 00:20:40 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-04-23 00:20:40 -0700 |
commit | ed85e20e4d6a27d5405f37366dd34b64c10a9211 (patch) | |
tree | 1dd34201f8777a4aba0ecbc39e8f480ba1407c41 /print-timed.c | |
parent | 595f1b5414c37b6ba31ed876343fd278a4c058ca (diff) | |
download | tcpdump-ed85e20e4d6a27d5405f37366dd34b64c10a9211.tar.gz |
u_intN_t is dead, long live uintN_t.
And, as we require at least autoconf 2.61, and as autoconf 2.61 and
later have AC_TYPE_UINTn_T and AC_TYPE_INTn_T macros, we use them to
define the uintN_t and intN_t macros if the system doesn't define them
for us.
This lets us get rid of bitypes.h as well.
Diffstat (limited to 'print-timed.c')
-rw-r--r-- | print-timed.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/print-timed.c b/print-timed.c index b3f53216..dc2b24a4 100644 --- a/print-timed.c +++ b/print-timed.c @@ -34,14 +34,14 @@ */ struct tsp_timeval { - u_int32_t tv_sec; - u_int32_t tv_usec; + uint32_t tv_sec; + uint32_t tv_usec; }; struct tsp { - u_int8_t tsp_type; - u_int8_t tsp_vers; - u_int16_t tsp_seq; + uint8_t tsp_type; + uint8_t tsp_vers; + uint16_t tsp_seq; union { struct tsp_timeval tspu_time; int8_t tspu_hopcnt; |