]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of last uses of/mentions of u_intN_t.
authorGuy Harris <[email protected]>
Thu, 6 Oct 2016 09:20:25 +0000 (02:20 -0700)
committerGuy Harris <[email protected]>
Thu, 6 Oct 2016 09:20:25 +0000 (02:20 -0700)
It's now all C99-style uintN_t.

signature.c
strtoaddr.c

index d9811a0be8cd632bb49228ca7f88bdf1e4aa45f3..1af798a2b45d446e98488a8ff82ef092019190d5 100644 (file)
@@ -167,7 +167,7 @@ signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen,
      * Clear anything else that needs to be cleared in the copy.
      * Our caller is assumed to have vetted the clear_arg pointer.
      */
-    (*clear_rtn)((void *)(packet_copy + ((const u_int8_t *)clear_arg - pptr)));
+    (*clear_rtn)((void *)(packet_copy + ((const uint8_t *)clear_arg - pptr)));
 
     /*
      * Compute the signature.
index f325401cdc86bea65b774f2da7f9431f73bdc50f..81a041f24bf2c643b063240cf8bc9957d76dc648 100644 (file)
@@ -34,7 +34,7 @@
 #endif
 
 #ifndef NS_INT16SZ
-#define NS_INT16SZ     2       /* #/bytes of data in a u_int16_t */
+#define NS_INT16SZ     2       /* #/bytes of data in a uint16_t */
 #endif
 
 /*%