Adjust db_flush_line() definition to avoid clang 15 warning

With clang 15, the following -Werror warnings is produced:

    sys/ddb/db_lex.c:94:14: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    db_flush_line()
                 ^
                  void

This is because db_flush_line() is declared with a (void) argument
list, but defined with an empty argument list. Make the definition match
the declaration.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2022-07-19 20:31:08 +02:00
parent a0c55bac79
commit 939cb349b2

View file

@ -91,7 +91,7 @@ db_get_line(void)
}
static void
db_flush_line()
db_flush_line(void)
{
db_lp = db_line;
db_endlp = db_line;