summaryrefslogtreecommitdiff
path: root/dissector_80211.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-11 15:15:20 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-11 15:15:20 +0200
commit68eb1ecd9e7565d6e265d4cca2b666e8c017dd53 (patch)
tree0ac77c8027fd77643e1cd01b784c9702f88639ea /dissector_80211.c
parent96b4d0cea5045770e2343908c40cbfc6ebb4ac1e (diff)
dissector: rename __WITH_PROTOS into HAVE_DISSECTOR_PROTOS
To be more consistent with config.h, rename __WITH_PROTOS into HAVE_DISSECTOR_PROTOS. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'dissector_80211.c')
-rw-r--r--dissector_80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dissector_80211.c b/dissector_80211.c
index f3d8b62..f39a8a2 100644
--- a/dissector_80211.c
+++ b/dissector_80211.c
@@ -16,7 +16,7 @@
struct hash_table ieee80211_lay2;
-#ifdef __WITH_PROTOS
+#ifdef HAVE_DISSECTOR_PROTOS
static inline void dissector_init_entry(int type)
{
dissector_set_print_type(&ieee80211_ops, type);
@@ -37,7 +37,7 @@ static void dissector_init_layer_2(int type)
static inline void dissector_init_entry(int type) {}
static inline void dissector_init_exit(int type) {}
static void dissector_init_layer_2(int type) {}
-#endif /* __WITH_PROTOS */
+#endif
void dissector_init_ieee80211(int fnttype)
{