Add missing prototypes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
diff --git a/tests-clay/core/rmdir.c b/tests-clay/core/rmdir.c
index 9f946d9..aa21c6a 100644
--- a/tests-clay/core/rmdir.c
+++ b/tests-clay/core/rmdir.c
@@ -3,7 +3,7 @@
static const char *empty_tmp_dir = "test_gitfo_rmdir_recurs_test";
-void test_core_rmdir__initialize()
+void test_core_rmdir__initialize(void)
{
char path[GIT_PATH_MAX];
diff --git a/tests-clay/status/worktree.c b/tests-clay/status/worktree.c
index 0c91932..c42c607 100644
--- a/tests-clay/status/worktree.c
+++ b/tests-clay/status/worktree.c
@@ -40,8 +40,8 @@ cb_status__count(const char *GIT_UNUSED(p), unsigned int GIT_UNUSED(s), void *pa
{
volatile int *count = (int *)payload;
- GIT_UNUSED_ARG(path);
- GIT_UNUSED_ARG(status_flags);
+ GIT_UNUSED_ARG(p);
+ GIT_UNUSED_ARG(s);
*count++;
@@ -56,7 +56,7 @@ cb_status__count(const char *GIT_UNUSED(p), unsigned int GIT_UNUSED(s), void *pa
* This method is called once before starting each
* test, and will load the required fixtures
*/
-void test_status_worktree__initialize()
+void test_status_worktree__initialize(void)
{
/*
* Sandbox the `status/` repository from our Fixtures.
@@ -97,7 +97,7 @@ void test_status_worktree__cleanup()
/**
* Tests - Status determination on a working tree
*/
-void test_status_worktree__whole_repository()
+void test_status_worktree__whole_repository(void)
{
struct status_entry_counts counts;
@@ -113,7 +113,7 @@ void test_status_worktree__whole_repository()
cl_assert(counts.wrong_sorted_path == 0);
}
-void test_status_worktree__empty_repository()
+void test_status_worktree__empty_repository(void)
{
int count = 0;