Commit 24541888c0ca5040eaad1afda87a8af1b79b377e

Stefan Sperling 2018-01-10T21:58:17

get_packfile_size() should be static

1
2
3
4
5
6
7
8
9
10
11
12
13
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;