summaryrefslogtreecommitdiff
path: root/print-symantec.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-23 00:20:40 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-23 00:20:40 -0700
commited85e20e4d6a27d5405f37366dd34b64c10a9211 (patch)
tree1dd34201f8777a4aba0ecbc39e8f480ba1407c41 /print-symantec.c
parent595f1b5414c37b6ba31ed876343fd278a4c058ca (diff)
downloadtcpdump-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-symantec.c')
-rw-r--r--print-symantec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/print-symantec.c b/print-symantec.c
index 39d8b651..dcff2a66 100644
--- a/print-symantec.c
+++ b/print-symantec.c
@@ -33,16 +33,16 @@
#include "ether.h"
struct symantec_header {
- u_int8_t stuff1[6];
- u_int16_t ether_type;
- u_int8_t stuff2[36];
+ uint8_t stuff1[6];
+ uint16_t ether_type;
+ uint8_t stuff2[36];
};
static inline void
symantec_hdr_print(netdissect_options *ndo, register const u_char *bp, u_int length)
{
register const struct symantec_header *sp;
- u_int16_t etype;
+ uint16_t etype;
sp = (const struct symantec_header *)bp;