From 26430ff647eff817aebdf7425f866f6d7f0f9860 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 4 Jan 2017 14:10:16 -0800 Subject: Include extcap binaries in the count of things to point out during startup. The GTK+ version, at least, crashes if there are more "doing XXX..." items put up than the calculated count, so, now that we're putting up items for extcap binaries, we need to count the extcap binaries. Clean up some stuff we found doing this (indentation, a _U_ on something that's used). Change-Id: I1f88042b64ce4b9ae352de37689677c694e3770b Reviewed-on: https://code.wireshark.org/review/19549 Reviewed-by: Guy Harris --- extcap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'extcap.h') diff --git a/extcap.h b/extcap.h index 95e567d6c2..d066d9d2a9 100644 --- a/extcap.h +++ b/extcap.h @@ -63,6 +63,10 @@ struct _extcap_arg; extern "C" { #endif /* __cplusplus */ +/* Count the number of extcap binaries */ +guint +extcap_count(void); + /* Registers preferences for all interfaces */ void extcap_register_preferences(void); -- cgit v1.2.1