summaryrefslogtreecommitdiff
path: root/default.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-10-14 21:54:04 +0000
committerPaul Smith <psmith@gnu.org>2002-10-14 21:54:04 +0000
commit6374309c6d4d17ab1e4109133ab8aad55f77d51c (patch)
tree91011a11f637df979b9c5dd8b0f1fc4bfc2be831 /default.c
parent8bbdbb02b30ffd39c2fac9259b3a91cb62e1711d (diff)
downloadgunmake-6374309c6d4d17ab1e4109133ab8aad55f77d51c.tar.gz
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.
Diffstat (limited to 'default.c')
-rw-r--r--default.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/default.c b/default.c
index 5d981b9..5b9d62d 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;