aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2023-06-13 11:46:25 -0700
committerAndersBroman <a.broman58@gmail.com>2023-06-14 19:50:03 +0000
commit9e0ce57c4dc0186b186e7d93565ee468aed6172b (patch)
treefb772b898fb2408e7f3cc64b1bd96197de4a9d67 /tshark.c
parentce617ffe6d990b1f345575d8bc4c78115ab58603 (diff)
Convert capture/*.[ch] to C99 types
Convert capture/*.[ch] to C99 types. Update other files where needed. Ping #19116
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index 1f3a1ef195..b4c3e78073 100644
--- a/tshark.c
+++ b/tshark.c
@@ -217,7 +217,7 @@ static gboolean infoprint; /* if TRUE, print capture info after clearing in
#endif /* SIGINFO */
static gboolean capture(void);
-static gboolean capture_input_new_file(capture_session *cap_session,
+static bool capture_input_new_file(capture_session *cap_session,
gchar *new_file);
static void capture_input_new_packets(capture_session *cap_session,
int to_read);
@@ -2755,7 +2755,7 @@ capture_input_cfilter_error(capture_session *cap_session, guint i, const char *e
/* capture child tells us we have a new (or the first) capture file */
-static gboolean
+static bool
capture_input_new_file(capture_session *cap_session, gchar *new_file)
{
capture_options *capture_opts = cap_session->capture_opts;