summaryrefslogtreecommitdiff
path: root/tests/patch/print.c
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/patch/print.c
parent3f024b6d5439eda83d8bebc197db062c4d6bdfeb (diff)
downloadlibgit2-ca14942e19788bd01334af64554c3095f3ff0d4a.tar.gz
tests: declare functions statically where appropriate
Diffstat (limited to 'tests/patch/print.c')
-rw-r--r--tests/patch/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/patch/print.c b/tests/patch/print.c
index b0a933943..33cf27ddb 100644
--- a/tests/patch/print.c
+++ b/tests/patch/print.c
@@ -9,7 +9,7 @@
* and then print a variety of patch files.
*/
-void patch_print_from_patchfile(const char *data, size_t len)
+static void patch_print_from_patchfile(const char *data, size_t len)
{
git_patch *patch;
git_buf buf = GIT_BUF_INIT;