diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-26 15:15:58 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-26 20:59:32 +0100 |
commit | 944e93fa4c29c4e5cdecd858ead5a37430a418af (patch) | |
tree | 4ed2cef3bbbe24f9844ccb167656cf2ca5158ed5 /print-fddi.c | |
parent | 07cb281e4ed578c1ccf503d5a5d68c0eb4cd1eb1 (diff) | |
download | tcpdump-944e93fa4c29c4e5cdecd858ead5a37430a418af.tar.gz |
Remove function specifier 'inline' in printers
It was mostly used with large functions.
Moreover:
Put some function definition names at the beginning of line.
Fix a space.
Diffstat (limited to 'print-fddi.c')
-rw-r--r-- | print-fddi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/print-fddi.c b/print-fddi.c index a174d088..f87c00f7 100644 --- a/print-fddi.c +++ b/print-fddi.c @@ -158,7 +158,7 @@ static const u_char fddi_bit_swap[] = { /* * Print FDDI frame-control bits */ -static inline void +static void print_fddi_fc(netdissect_options *ndo, u_char fc) { switch (fc) { @@ -226,7 +226,7 @@ print_fddi_fc(netdissect_options *ndo, u_char fc) } /* Extract src, dst addresses */ -static inline void +static void extract_fddi_addrs(const struct fddi_header *fddip, char *fsrc, char *fdst) { int i; @@ -250,7 +250,7 @@ extract_fddi_addrs(const struct fddi_header *fddip, char *fsrc, char *fdst) /* * Print the FDDI MAC header */ -static inline void +static void fddi_hdr_print(netdissect_options *ndo, const struct fddi_header *fddip, u_int length, const u_char *fsrc, const u_char *fdst) @@ -267,7 +267,7 @@ fddi_hdr_print(netdissect_options *ndo, length); } -static inline void +static void fddi_smt_print(netdissect_options *ndo, const u_char *p _U_, u_int length _U_) { ND_PRINT("<SMT printer not yet implemented>"); |