diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-08-15 16:19:33 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-08-15 16:19:33 +0200 |
commit | 9e031cbba84383c1948abdfe141cd7ecc1ab37f9 (patch) | |
tree | cf1ff031331f15315e7bd44a68583cda5a2cc94d /proto_icmpv4.c | |
parent | e1b4e7c88fdd8dbb64dae7b9a14d2c13e3751015 (diff) |
dissectors: Include protos.h in some dissectors for protocol ops declaration
Fixes sparse warnings like the following in some dissectors:
proto_arp.c:158:17: warning: symbol 'arp_ops' was not declared. Should it be static?
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_icmpv4.c')
-rw-r--r-- | proto_icmpv4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto_icmpv4.c b/proto_icmpv4.c index 5ef074d..55dd1b7 100644 --- a/proto_icmpv4.c +++ b/proto_icmpv4.c @@ -9,6 +9,7 @@ #include <netinet/in.h> /* for ntohs() */ #include "proto.h" +#include "protos.h" #include "csum.h" #include "pkt_buff.h" #include "built_in.h" |