mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
a0c55bac79
commit
939cb349b2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue