aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_dir_rewind.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_dir_rewind.c')
-rw-r--r--tests/test_dir_rewind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_dir_rewind.c b/tests/test_dir_rewind.c
index 6ae0497..d2d9d2a 100644
--- a/tests/test_dir_rewind.c
+++ b/tests/test_dir_rewind.c
@@ -17,7 +17,7 @@
#define BUF_SIZE 4096
-int main()
+int main(void)
{
int fd = open(".", O_RDONLY | O_DIRECTORY);
if (fd == -1) {
@@ -72,7 +72,7 @@ int main()
#include <stdio.h>
-int main()
+int main(void)
{
printf("This test currently only compiles on Linux/amd64.\n");
printf("Skipping by just returning successfully.\n");