diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-29 14:50:03 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-30 17:22:58 +0900 |
| commit | c919740e87c71232b3d2d1335efb2c4c293ff80c (patch) | |
| tree | ef2dde71ec12304175bd764dfde17718a9aca675 | |
| parent | b559abe7220b3d86edc427bcbf7db26f9f6f62d6 (diff) | |
| download | tqt-c919740e87c71232b3d2d1335efb2c4c293ff80c.tar.gz tqt-c919740e87c71232b3d2d1335efb2c4c293ff80c.zip | |
Fix FTBFS with gcc 15. This resolves issue #214
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d517cda6bdb0160be39a96712d4cf6036b920be3)
| -rw-r--r-- | src/3rdparty/sqlite/shell.c | 2 | ||||
| -rw-r--r-- | src/moc/moc_lex.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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. |
