]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rrcp.c
Use more the ND_TTEST_1() macro
[tcpdump] / print-rrcp.c
index d96b1dc42a6d255d87c4b07502dd7b630b475cae..0885f64657c8ca30be51dbf403a98197d69ee228 100644 (file)
@@ -49,7 +49,6 @@
 #include "netdissect.h"
 #include "addrtoname.h"
 #include "extract.h"
-#include "ether.h"
 
 #define RRCP_OPCODE_MASK       0x7F    /* 0x00 = hello, 0x01 = get, 0x02 = set */
 #define RRCP_ISREPLY           0x80    /* 0 = request to switch, 0x80 = reply from switch */
@@ -89,7 +88,7 @@ static const struct tok opcode_values[] = {
  */
 void
 rrcp_print(netdissect_options *ndo,
-         register const u_char *cp,
+         const u_char *cp,
          u_int length _U_,
          const struct lladdr_info *src,
          const struct lladdr_info *dst)