summaryrefslogtreecommitdiff
path: root/asm/preproc.c
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-02 20:44:57 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-02 20:44:57 -0700
commit1939b69fdf9d644eb611093198110c20a8614527 (patch)
tree59fd37621f3176c82037d15470c0f67a338384fa /asm/preproc.c
parent8bc18080fe01906d7582a187ea0d67d316501344 (diff)
parent07b10a1706eb6732e88b6d46d9bf42172881315e (diff)
downloadnasm-1939b69fdf9d644eb611093198110c20a8614527.tar.gz
Merge remote-tracking branch 'github/nasm-2.15.xx'
Diffstat (limited to 'asm/preproc.c')
-rw-r--r--asm/preproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/preproc.c b/asm/preproc.c
index 22bccfcc..116ceef6 100644
--- a/asm/preproc.c
+++ b/asm/preproc.c
@@ -345,7 +345,7 @@ static inline bool tok_text_match(const struct Token *a, const struct Token *b)
return a->len == b->len && !memcmp(tok_text(a), tok_text(b), a->len);
}
-static inline unused bool
+static inline unused_func bool
tok_match(const struct Token *a, const struct Token *b)
{
return a->type == b->type && tok_text_match(a, b);
@@ -764,7 +764,7 @@ static const char *unquote_token_cstr(Token *t)
* TOK_STRING tokens.
*/
static Token *quote_any_token(Token *t);
-static inline unused
+static inline unused_func
Token *quote_token(Token *t)
{
if (likely(!tok_is(t, TOK_INTERNAL_STRING)))