X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/451ac4c753933eca8ffd5fd5192a03334520d789..1a04b92e365f5ed01ca38619b41bcc4fc9cbd63c:/print-rrcp.c diff --git a/print-rrcp.c b/print-rrcp.c index d96b1dc4..0885f646 100644 --- a/print-rrcp.c +++ b/print-rrcp.c @@ -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)