Commit a5f8c1bd by Vicent Marti

Add missing prototypes

parent bcba8460
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
static const char *empty_tmp_dir = "test_gitfo_rmdir_recurs_test"; 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]; char path[GIT_PATH_MAX];
......
...@@ -40,8 +40,8 @@ cb_status__count(const char *GIT_UNUSED(p), unsigned int GIT_UNUSED(s), void *pa ...@@ -40,8 +40,8 @@ cb_status__count(const char *GIT_UNUSED(p), unsigned int GIT_UNUSED(s), void *pa
{ {
volatile int *count = (int *)payload; volatile int *count = (int *)payload;
GIT_UNUSED_ARG(path); GIT_UNUSED_ARG(p);
GIT_UNUSED_ARG(status_flags); GIT_UNUSED_ARG(s);
*count++; *count++;
...@@ -56,7 +56,7 @@ cb_status__count(const char *GIT_UNUSED(p), unsigned int GIT_UNUSED(s), void *pa ...@@ -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 * This method is called once before starting each
* test, and will load the required fixtures * 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. * Sandbox the `status/` repository from our Fixtures.
...@@ -97,7 +97,7 @@ void test_status_worktree__cleanup() ...@@ -97,7 +97,7 @@ void test_status_worktree__cleanup()
/** /**
* Tests - Status determination on a working tree * 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; struct status_entry_counts counts;
...@@ -113,7 +113,7 @@ void test_status_worktree__whole_repository() ...@@ -113,7 +113,7 @@ void test_status_worktree__whole_repository()
cl_assert(counts.wrong_sorted_path == 0); cl_assert(counts.wrong_sorted_path == 0);
} }
void test_status_worktree__empty_repository() void test_status_worktree__empty_repository(void)
{ {
int count = 0; int count = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment