commit e0f5bcd9091a5f7abd423fce9f372c8079849a64 Author: Sam James Date: Thu Nov 17 22:03:25 2022 +0000 gram.y: Fix -Wimplicit-function-declaration Clang 16 makes -Wimplicit-function-declaration an error by default. For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2], or the (new) c-std-porting mailing list [3]. [0] https://lwn.net/Articles/913505/ [1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 [2] https://wiki.gentoo.org/wiki/Modern_C_porting [3] hosted at lists.linux.dev. Bug: https://bugs.gentoo.org/880823 Signed-off-by: Sam James diff --git a/gram.y b/gram.y index 4115390c249ab62b..2b142125e9dd05ae 100644 --- a/gram.y +++ b/gram.y @@ -20,6 +20,10 @@ #define YYERROR_VERBOSE 1 +int yylex (void); +void yyset_in (FILE * _in_str); +int yylex_destroy (void); + #if 0 /* no longer necessary? */ #ifndef HAVE_IN6_ADDR_S6_ADDR # ifdef __FreeBSD__