From: Michael Tremer Date: Sat, 26 Oct 2024 13:20:54 +0000 (+0000) Subject: tests: Fix old-style function definition X-Git-Tag: 0.9.30~826 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=348bbe150094ebe59df740c42d4be519e038be09;p=pakfire.git tests: Fix old-style function definition Signed-off-by: Michael Tremer --- diff --git a/tests/testsuite.c b/tests/testsuite.c index b4175e28a..dfb045dca 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -207,7 +207,7 @@ FILE* test_mktemp(char** path) { return fdopen(fd, "w+"); } -char* test_mkdtemp() { +char* test_mkdtemp(void) { char path[] = TMP_TEMPLATE; char* p = mkdtemp(path);