summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2017-01-22 18:18:47 +0100
committerWill Estes <westes575@gmail.com>2017-01-23 11:01:54 -0500
commitd0d057390017a4f9f5bd3ae5740089b0e25948c0 (patch)
tree73b0c5b33bab731ea3e3e165c567e32164c5cfda /src/main.c
parentda071cfb7a8d28a91664a298c168770be8f32d92 (diff)
scanner: Rename warn to lwarn.
This avoids a naming conflict in NetBSD's libc.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index ef804cd..f70b1aa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -276,7 +276,7 @@ void check_options (void)
flexerror (_("Can't use -+ with -CF option"));
if (C_plus_plus && yytext_is_array) {
- warn (_("%array incompatible with -+ option"));
+ lwarn (_("%array incompatible with -+ option"));
yytext_is_array = false;
}