get_packfile_size() should be static
diff --git a/lib/pack.c b/lib/pack.c
index 385b7ec..5f38af5 100644
--- a/lib/pack.c
+++ b/lib/pack.c
@@ -39,7 +39,7 @@ verify_fanout_table(uint32_t *fanout_table)
return NULL;
}
-const struct got_error *
+static const struct got_error *
get_packfile_size(size_t *size, const char *path_idx)
{
struct stat sb;