summaryrefslogtreecommitdiff
path: root/tests/object
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-11 13:28:08 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2021-11-11 17:31:43 -0500
commitca14942e19788bd01334af64554c3095f3ff0d4a (patch)
tree9a05a7224d87e45b3ba2ac88501c66e4f0149ab9 /tests/object
parent3f024b6d5439eda83d8bebc197db062c4d6bdfeb (diff)
downloadlibgit2-ca14942e19788bd01334af64554c3095f3ff0d4a.tar.gz
tests: declare functions statically where appropriate
Diffstat (limited to 'tests/object')
-rw-r--r--tests/object/tag/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/object/tag/write.c b/tests/object/tag/write.c
index 48c8bfd36..3c1a98956 100644
--- a/tests/object/tag/write.c
+++ b/tests/object/tag/write.c
@@ -221,7 +221,7 @@ void test_object_tag_write__deleting_with_an_invalid_name_returns_EINVALIDSPEC(v
cl_assert_equal_i(GIT_EINVALIDSPEC, git_tag_delete(g_repo, "Inv@{id"));
}
-void create_annotation(git_oid *tag_id, const char *name)
+static void create_annotation(git_oid *tag_id, const char *name)
{
git_object *target;
git_oid target_id;