[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
2 changed files with 4 additions and 4 deletions

View File

@ -990,7 +990,7 @@ do_file(filenode *fnode, strnodelist *stack_ptr)
} }
static void static void
generate_graphviz_header() generate_graphviz_header(void)
{ {
if (do_graphviz != true) if (do_graphviz != true)
@ -1003,7 +1003,7 @@ generate_graphviz_header()
} }
static void static void
generate_graphviz_footer() generate_graphviz_footer(void)
{ {
if (do_graphviz == true) if (do_graphviz == true)
@ -1011,7 +1011,7 @@ generate_graphviz_footer()
} }
static void static void
generate_graphviz_providers() generate_graphviz_providers(void)
{ {
Hash_Entry *entry; Hash_Entry *entry;
Hash_Search psearch; Hash_Search psearch;

View File

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