summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-30 17:33:39 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-30 17:33:39 -0700
commitc0d0f8826110491654f1aebf4465c9f41e914659 (patch)
treea0ff2a6ad0a5dae120a0f8455ce9ca4028b4b0c9
parent8877a3ddb08e5cb7cd60704380ccccb5bb5c36b2 (diff)
downloadnasm-c0d0f8826110491654f1aebf4465c9f41e914659.tar.gz
preproc: expand_mmac_param_range() should be static
expand_mmac_params_range() lost its "static" in checkin e99a946390e561804bf624a1e67f25ae34b13dfd. Put it back. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--asm/preproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/preproc.c b/asm/preproc.c
index 2165fa12..1b8ee36b 100644
--- a/asm/preproc.c
+++ b/asm/preproc.c
@@ -4835,7 +4835,7 @@ static int mmac_rotate(const MMacro *mac, unsigned int n)
/*
* expands to a list of tokens from %{x:y}
*/
-void expand_mmac_params_range(MMacro *mac, Token *tline, Token ***tail)
+static void expand_mmac_params_range(MMacro *mac, Token *tline, Token ***tail)
{
Token *t;
const char *arg = tok_text(tline) + 1;