From f2d6d07498b42637134a08459458cdda679380e0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 12 Sep 2016 09:45:12 -0700 Subject: 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 --- extcap.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'extcap.h') 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 } -- cgit v1.2.3