summaryrefslogtreecommitdiff
path: root/dissector_eth.h
diff options
context:
space:
mode:
Diffstat (limited to 'dissector_eth.h')
-rw-r--r--dissector_eth.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/dissector_eth.h b/dissector_eth.h
index 6d14809..79334d6 100644
--- a/dissector_eth.h
+++ b/dissector_eth.h
@@ -16,7 +16,6 @@ extern struct hash_table eth_lay3;
extern void dissector_init_ethernet(int fnttype);
extern void dissector_cleanup_ethernet(void);
-#ifdef HAVE_DISSECTOR_PROTOS
static inline struct protocol *dissector_get_ethernet_entry_point(void)
{
return &ethernet_ops;
@@ -26,15 +25,5 @@ static inline struct protocol *dissector_get_ethernet_exit_point(void)
{
return &none_ops;
}
-#else
-static inline struct protocol *dissector_get_ethernet_entry_point(void)
-{
- return NULL;
-}
-static inline struct protocol *dissector_get_ethernet_exit_point(void)
-{
- return NULL;
-}
-#endif
#endif /* DISSECTOR_ETH_H */