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-dccp.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-dccp.c')
-rw-r--r-- | print-dccp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/print-dccp.c b/print-dccp.c index 7c092a8a..b36f1072 100644 --- a/print-dccp.c +++ b/print-dccp.c @@ -191,7 +191,8 @@ static const char *dccp_feature_nums[] = { "check data checksum", }; -static inline u_int dccp_csum_coverage(const struct dccp_hdr* dh, u_int len) +static u_int +dccp_csum_coverage(const struct dccp_hdr* dh, u_int len) { u_int cov; @@ -237,7 +238,8 @@ static uint64_t dccp_seqno(const u_char *bp) return seqno; } -static inline unsigned int dccp_basic_hdr_len(const struct dccp_hdr *dh) +static unsigned int +dccp_basic_hdr_len(const struct dccp_hdr *dh) { return DCCPH_X(dh) ? sizeof(struct dccp_hdr_ext) : sizeof(struct dccp_hdr); } |