On Mon, 29 Jan 2024, Antonin Décimo wrote:
Signed-off-by: Antonin Décimo <anto...@tarides.com>
---
.../winpthreads/tests/t_clock_gettime.c | 2 +-
.../winpthreads/tests/t_clock_nanosleep.c | 2 +-
.../winpthreads/tests/t_clock_settime.c | 2 +-
.../winpthreads/tests/t_nanosleep.c | 2 +-
mingw-w64-libraries/winpthreads/tests/test.c | 16 ++++++++--------
5 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/mingw-w64-libraries/winpthreads/tests/t_clock_gettime.c
b/mingw-w64-libraries/winpthreads/tests/t_clock_gettime.c
index 45efc0ffe..a14899437 100644
--- a/mingw-w64-libraries/winpthreads/tests/t_clock_gettime.c
+++ b/mingw-w64-libraries/winpthreads/tests/t_clock_gettime.c
@@ -5,7 +5,7 @@
#include <assert.h>
#include <pthread.h>
-static void test_clock_gettime()
+static void test_clock_gettime(void)
{
int rc;
struct timespec tp, request = { 1, 0 }, remain;
This bit looks good - I guess that at least Clang warns about this? Can
you add a data point in the commit message about where the issue was
observed, that this patch fixes?
// Martin
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public