aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_dir_rewind.c
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2023-11-27 23:35:41 +0200
committerGitHub <noreply@github.com>2023-11-27 23:35:41 +0200
commit2b5f2e24527f04f4255161965ae4099192714b73 (patch)
treeb8edd8485dfcd64c68b12da4221a356acd54a0fa /tests/test_dir_rewind.c
parent47f4cac457c3583548c0d7dba402568a1e0871b8 (diff)
parent95936b647c0283cc6ebd2b685cc5b72889cda8bd (diff)
downloadbindfs-2b5f2e24527f04f4255161965ae4099192714b73.tar.gz
Merge pull request #150 from hartwork/macos-ci
Cover macOS in CI + make CI use the right compiler + fix more compile warnings
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");