]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-token.c
Use the EXTRACT_U_1() macro in some utility functions
[tcpdump] / print-token.c
index 78485a3f83fdaec080356dbdd2cc5b4bb10fe64a..fa7f07f4b7b705c9c3f169fe3e8490608ae837d5 100644 (file)
@@ -92,7 +92,7 @@ struct token_header {
 static const char tstr[] = "[|token-ring]";
 
 /* Extract src, dst addresses */
-static inline void
+static void
 extract_token_addrs(const struct token_header *trp, char *fsrc, char *fdst)
 {
        memcpy(fdst, (const char *)trp->token_dhost, 6);
@@ -102,7 +102,7 @@ extract_token_addrs(const struct token_header *trp, char *fsrc, char *fdst)
 /*
  * Print the TR MAC header
  */
-static inline void
+static void
 token_hdr_print(netdissect_options *ndo,
                 const struct token_header *trp, u_int length,
                 const u_char *fsrc, const u_char *fdst)