aboutsummaryrefslogtreecommitdiffstats
path: root/extcap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-09-12 09:45:12 -0700
committerGuy Harris <guy@alum.mit.edu>2016-09-12 16:45:49 +0000
commitf2d6d07498b42637134a08459458cdda679380e0 (patch)
treed09f07a3523360888a8280c3bf3fa34163bb1860 /extcap.h
parentcea1737bd218aa84bf41637deee25bd199fb128d (diff)
Remove unnecessary extcap_cleanup() declaration.
That wasn't sufficient to avoid #ifdeffing calls to extcap_cleanup(), as this header wasn't even being included if HAVE_EXTCAP wasn't defined, hence change I18c855e13281013a6277c1f38eeac92e74d52b34 was necessary. It's probably best that this not be included if HAVE_EXTCAP isn't defined, so as to catch *other* references to functions etc. that aren't available without extcap. Change-Id: I5c4ad331b6df93bbbcd28ad3b9815e4cd226039a Reviewed-on: https://code.wireshark.org/review/17666 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'extcap.h')
-rw-r--r--extcap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/extcap.h b/extcap.h
index e427f45a6d..95e567d6c2 100644
--- a/extcap.h
+++ b/extcap.h
@@ -122,11 +122,7 @@ void
extcap_pref_store(struct _extcap_arg * arg, const char * newval);
/* Clean up global extcap stuff on program exit */
-#ifdef HAVE_EXTCAP
void extcap_cleanup(void);
-#else
-static inline void extcap_cleanup(void) {}
-#endif
#ifdef __cplusplus
}