aboutsummaryrefslogtreecommitdiff
path: root/sbin/rcorder
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2020-09-21 17:59:45 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2020-09-21 17:59:45 +0000
commit0dcdda0984d779cd2024030535a7d270b18b273d (patch)
treed9a466f6ab10fc45e03f4dec97c271f088120642 /sbin/rcorder
parent34e0b83ccb25fc7146b48aa71b7aa4ded71dc982 (diff)
downloadsrc-0dcdda0984d779cd2024030535a7d270b18b273d.tar.gz
src-0dcdda0984d779cd2024030535a7d270b18b273d.zip
[rcorder] [crunch] Fix C function declarations to include void
This fixes a compile issue under gcc6 which complains about legacy style C function declarations. Differential Revision: https://reviews.freebsd.org/D26504
Notes
Notes: svn path=/head/; revision=365957
Diffstat (limited to 'sbin/rcorder')
-rw-r--r--sbin/rcorder/rcorder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/rcorder/rcorder.c b/sbin/rcorder/rcorder.c
index efcb7e261fdb..a8d4f4fdc3e1 100644
--- a/sbin/rcorder/rcorder.c
+++ b/sbin/rcorder/rcorder.c
@@ -990,7 +990,7 @@ do_file(filenode *fnode, strnodelist *stack_ptr)
}
static void
-generate_graphviz_header()
+generate_graphviz_header(void)
{
if (do_graphviz != true)
@@ -1003,7 +1003,7 @@ generate_graphviz_header()
}
static void
-generate_graphviz_footer()
+generate_graphviz_footer(void)
{
if (do_graphviz == true)
@@ -1011,7 +1011,7 @@ generate_graphviz_footer()
}
static void
-generate_graphviz_providers()
+generate_graphviz_providers(void)
{
Hash_Entry *entry;
Hash_Search psearch;