From 5ee3726c1ab0782dfb00890a29d5fc3f5fe33ccd Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 3 Dec 2002 00:02:47 +0000 Subject: [PATCH] Add missing "static" to suppress warning with aCC [SVN r16484] --- historic/jam/src/rules.c | 2 +- jam_src/rules.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/historic/jam/src/rules.c b/historic/jam/src/rules.c index b76ebe1a6..686f72790 100644 --- a/historic/jam/src/rules.c +++ b/historic/jam/src/rules.c @@ -550,7 +550,7 @@ void actions_free(rule_actions* a) /* * set_rule_body() - set the argument list and procedure of the given rule */ -void set_rule_body( RULE* rule, argument_list* args, PARSE* procedure ) +static void set_rule_body( RULE* rule, argument_list* args, PARSE* procedure ) { if ( args ) args_refer( args ); diff --git a/jam_src/rules.c b/jam_src/rules.c index b76ebe1a6..686f72790 100644 --- a/jam_src/rules.c +++ b/jam_src/rules.c @@ -550,7 +550,7 @@ void actions_free(rule_actions* a) /* * set_rule_body() - set the argument list and procedure of the given rule */ -void set_rule_body( RULE* rule, argument_list* args, PARSE* procedure ) +static void set_rule_body( RULE* rule, argument_list* args, PARSE* procedure ) { if ( args ) args_refer( args );