[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
This commit is contained in:
Adrian Chadd 2020-09-21 17:59:45 +00:00
parent 34e0b83ccb
commit 0dcdda0984
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365957
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -183,7 +183,7 @@ crunched_main(int argc, char **argv, char **envp)
}
static void
crunched_usage()
crunched_usage(void)
{
int columns, len;
struct stub *ep;