]> git.ipfire.org Git - pakfire.git/commitdiff
tests: Fix old-style function definition
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Oct 2024 13:20:54 +0000 (13:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Oct 2024 13:20:54 +0000 (13:20 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/testsuite.c

index b4175e28a0548dc3e9415a3f4dfebd88898ff4c5..dfb045dca30cd967febe447981a598debdb26581 100644 (file)
@@ -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);