summaryrefslogtreecommitdiff
path: root/tests-clay/status/worktree.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-09-16 05:46:18 +0200
committerVicent Marti <tanoku@gmail.com>2011-09-16 05:46:18 +0200
commita5f8c1bd9ec217628e524c3d4ed5fba64f279e90 (patch)
treeb9be7c007a56fa994774c7bdb9f43398fc0e88cc /tests-clay/status/worktree.c
parentbcba84600b5e686842d8b8f4f76d263f53cfac79 (diff)
downloadlibgit2-a5f8c1bd9ec217628e524c3d4ed5fba64f279e90.tar.gz
Add missing prototypes
Diffstat (limited to 'tests-clay/status/worktree.c')
-rw-r--r--tests-clay/status/worktree.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests-clay/status/worktree.c b/tests-clay/status/worktree.c
index 0c9193204..c42c60724 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;