Turn off yy_flex_realloc() related warnings (such as the one issued when
authorSascha Wildner <swildner@dragonflybsd.org>
Thu, 1 May 2008 20:01:24 +0000 (20:01 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Thu, 1 May 2008 20:01:24 +0000 (20:01 +0000)
commitd5e6242379ac33a0cc6c1fccf2bb9d7ae2a66f9f
tree5e2324d63dc83944d09f88e0c46a74054495916a
parent852be57eb08e51d44724552d0057b20c96cdfe56
Turn off yy_flex_realloc() related warnings (such as the one issued when
building usr.sbin/config) by marking the function unused.

There are a number of things which decide whether it's used or not, such
as using REJECT, %option yylineno, and some trailing context patterns.

See NetBSD's revisions 1.10 & 1.19.

Taken-from: NetBSD
usr.bin/lex/flex.skl