From c919740e87c71232b3d2d1335efb2c4c293ff80c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 29 Jan 2025 14:50:03 +0900 Subject: Fix FTBFS with gcc 15. This resolves issue #214 Signed-off-by: Michele Calgaro (cherry picked from commit d517cda6bdb0160be39a96712d4cf6036b920be3) --- src/3rdparty/sqlite/shell.c | 2 +- src/moc/moc_lex.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/3rdparty/sqlite/shell.c b/src/3rdparty/sqlite/shell.c index 93210666e..28635a82a 100644 --- a/src/3rdparty/sqlite/shell.c +++ b/src/3rdparty/sqlite/shell.c @@ -49,7 +49,7 @@ /* Make sure isatty() has a prototype. */ -extern int isatty(); +extern int isatty(int); /* ** The following is the open SQLite database. We make a pointer diff --git a/src/moc/moc_lex.cpp b/src/moc/moc_lex.cpp index b54536548..30918727f 100644 --- a/src/moc/moc_lex.cpp +++ b/src/moc/moc_lex.cpp @@ -2835,7 +2835,7 @@ static void yy_load_buffer_state (void) } #ifndef __cplusplus -extern int isatty (int ); +extern int isatty (int); #endif /* __cplusplus */ /* Initializes or reinitializes a buffer. -- cgit v1.2.3