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 /addrtoname.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 'addrtoname.c')
-rw-r--r-- | addrtoname.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addrtoname.c b/addrtoname.c index 499a6648..ac79c0f2 100644 --- a/addrtoname.c +++ b/addrtoname.c @@ -406,7 +406,7 @@ static const char hex[16] = { /* Find the hash node that corresponds the ether address 'ep' */ -static inline struct enamemem * +static struct enamemem * lookup_emem(netdissect_options *ndo, const u_char *ep) { u_int i, j, k; @@ -439,7 +439,7 @@ lookup_emem(netdissect_options *ndo, const u_char *ep) * with length 'nlen' */ -static inline struct bsnamemem * +static struct bsnamemem * lookup_bytestring(netdissect_options *ndo, const u_char *bs, const unsigned int nlen) { @@ -487,7 +487,7 @@ lookup_bytestring(netdissect_options *ndo, const u_char *bs, /* Find the hash node that corresponds the NSAP 'nsap' */ -static inline struct enamemem * +static struct enamemem * lookup_nsap(netdissect_options *ndo, const u_char *nsap, u_int nsap_length) { @@ -532,7 +532,7 @@ lookup_nsap(netdissect_options *ndo, const u_char *nsap, /* Find the hash node that corresponds the protoid 'pi'. */ -static inline struct protoidmem * +static struct protoidmem * lookup_protoid(netdissect_options *ndo, const u_char *pi) { u_int i, j; |