From 6538a8816b14242f17253c2def9a1511d130293c Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 14 Oct 2002 21:54:04 +0000 Subject: Convert the source code to use ANSI C style function definitions and enable the automake ansi2knr capability. Right now this doesn't quite build using a K&R compiler because of a problem with the loadavg test program, but the rest of the code works. I'm asking the automake list about this problem. --- default.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'default.c') diff --git a/default.c b/default.c index 5d981b98..5b9d62d6 100644 --- a/default.c +++ b/default.c @@ -511,7 +511,7 @@ static char *default_variables[] = /* Set up the default .SUFFIXES list. */ void -set_default_suffixes () +set_default_suffixes (void) { suffix_file = enter_file (".SUFFIXES"); @@ -533,7 +533,7 @@ set_default_suffixes () installed after. */ void -install_default_suffix_rules () +install_default_suffix_rules (void) { register char **s; @@ -558,7 +558,7 @@ install_default_suffix_rules () /* Install the default pattern rules. */ void -install_default_implicit_rules () +install_default_implicit_rules (void) { register struct pspec *p; @@ -573,7 +573,7 @@ install_default_implicit_rules () } void -define_default_variables () +define_default_variables (void) { register char **s; -- cgit v1.2.1