]> git.draconx.ca Git - cdecl99.git/commitdiff
libcdecl: Silence GCC -Wunused-function warnings in the scanner.
authorNick Bowler <nbowler@draconx.ca>
Mon, 15 Jan 2024 04:28:01 +0000 (23:28 -0500)
committerNick Bowler <nbowler@draconx.ca>
Mon, 15 Jan 2024 04:50:31 +0000 (23:50 -0500)
Use the GCC unused attribute to avoid warnings in the scanner, and use
the flex yyIN_HEADER macro so the static declarations don't leak out to
other files (where GCC will give warnings about missing definitions).

While we do this, fix a typo and remove an unneeded declaration which
were both caught by this warning.


No differences found