aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2021-09-17 13:26:53 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-18 07:21:36 +0000
commit13c33fa68ac03458739863e8da89a84e70c5b5b8 (patch)
tree27bdfdd577fbf2abf7e504338336d71f4ec37893 /text2pcap.c
parentbe2469b91d1a15527630ae94f5bc39d177bc4802 (diff)
text2pcap: Fix -Wmissing-prototypes
warning: no previous prototype for function 'text2pcap_vcmdarg_err' [-Wmissing-prototypes]
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 37bce82b15..50f4b11733 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -1852,7 +1852,7 @@ parse_options (int argc, char *argv[])
return EXIT_SUCCESS;
}
-void
+static void
text2pcap_vcmdarg_err(const char *fmt, va_list ap)
{
vfprintf(stderr, fmt, ap);