From c36d4e9c0388c8fd5a33a51160c128f141c67349 Mon Sep 17 00:00:00 2001 From: John Johansen Date: Wed, 8 Sep 2021 02:39:32 -0700 Subject: [PATCH] parser: make alias_ignore a bool Signed-off-by: John Johansen --- parser/parser.h | 2 +- parser/parser_alias.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/parser.h b/parser/parser.h index 55ef2e500..e71a29c25 100644 --- a/parser/parser.h +++ b/parser/parser.h @@ -126,7 +126,7 @@ struct cod_entry { audit_t audit; int deny; /* TRUE or FALSE */ - int alias_ignore; /* ignore for alias processing */ + bool alias_ignore; /* ignore for alias processing */ int subset; diff --git a/parser/parser_alias.c b/parser/parser_alias.c index 6dacb076e..827128e87 100644 --- a/parser/parser_alias.c +++ b/parser/parser_alias.c @@ -141,7 +141,7 @@ static void process_entries(const void *nodep, VISIT value, int level unused) dup->link_name = n; } if (dup) { - dup->alias_ignore = 1; + dup->alias_ignore = true; /* adds to the front of the list, list iteratition * will skip it */