[nasm:nasm-2.15.xx] preproc: expand_mmac_param_range() should be static

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Tue Jun 30 17:35:59 PDT 2020


Commit-ID:  c0d0f8826110491654f1aebf4465c9f41e914659
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=c0d0f8826110491654f1aebf4465c9f41e914659
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Tue, 30 Jun 2020 17:33:39 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Tue, 30 Jun 2020 17:33:39 -0700

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 at zytor.com>


---
 asm/preproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;


More information about the Nasm-commits mailing list