diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 13:28:08 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 17:31:43 -0500 |
| commit | ca14942e19788bd01334af64554c3095f3ff0d4a (patch) | |
| tree | 9a05a7224d87e45b3ba2ac88501c66e4f0149ab9 /tests/rebase | |
| parent | 3f024b6d5439eda83d8bebc197db062c4d6bdfeb (diff) | |
| download | libgit2-ca14942e19788bd01334af64554c3095f3ff0d4a.tar.gz | |
tests: declare functions statically where appropriate
Diffstat (limited to 'tests/rebase')
| -rw-r--r-- | tests/rebase/iterator.c | 2 | ||||
| -rw-r--r-- | tests/rebase/merge.c | 2 | ||||
| -rw-r--r-- | tests/rebase/sign.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/rebase/iterator.c b/tests/rebase/iterator.c index 49a601243..a120f28ac 100644 --- a/tests/rebase/iterator.c +++ b/tests/rebase/iterator.c @@ -47,7 +47,7 @@ static void test_operations(git_rebase *rebase, size_t expected_current) } } -void test_iterator(bool inmemory) +static void test_iterator(bool inmemory) { git_rebase *rebase; git_rebase_options opts = GIT_REBASE_OPTIONS_INIT; diff --git a/tests/rebase/merge.c b/tests/rebase/merge.c index d24e4facf..5f730f750 100644 --- a/tests/rebase/merge.c +++ b/tests/rebase/merge.c @@ -729,7 +729,7 @@ void test_rebase_merge__copy_notes_disabled_in_config(void) test_copy_note(NULL, 0); } -void rebase_checkout_progress_cb( +static void rebase_checkout_progress_cb( const char *path, size_t completed_steps, size_t total_steps, diff --git a/tests/rebase/sign.c b/tests/rebase/sign.c index dc99407dd..4064cf79b 100644 --- a/tests/rebase/sign.c +++ b/tests/rebase/sign.c @@ -86,7 +86,7 @@ committer Rebaser <rebaser@rebaser.rb> 1405694510 +0000\n"; git_rebase_free(rebase); } -int create_cb_signed_gpg( +static int create_cb_signed_gpg( git_oid *out, const git_signature *author, const git_signature *committer, |
