summaryrefslogtreecommitdiff
path: root/proto_none.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-08-15 16:19:33 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-08-15 16:19:33 +0200
commit9e031cbba84383c1948abdfe141cd7ecc1ab37f9 (patch)
treecf1ff031331f15315e7bd44a68583cda5a2cc94d /proto_none.c
parente1b4e7c88fdd8dbb64dae7b9a14d2c13e3751015 (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_none.c')
-rw-r--r--proto_none.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto_none.c b/proto_none.c
index 41835a0..0c0f62a 100644
--- a/proto_none.c
+++ b/proto_none.c
@@ -9,6 +9,7 @@
#include <ctype.h>
#include "proto.h"
+#include "protos.h"
#include "pkt_buff.h"
void empty(struct pkt_buff *pkt __maybe_unused) {}