Commit da506691d2d9491c869110f2ee209ae3014c7273

Stefan Sperling 2019-05-22T13:00:28

set_max_datasize() should be a static function

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/object.c b/lib/object.c
index f2cc6ae..8491d04 100644
--- a/lib/object.c
+++ b/lib/object.c
@@ -229,7 +229,7 @@ request_packed_object(struct got_object **obj, struct got_pack *pack, int idx,
 	return NULL;
 }
 
-void
+static void
 set_max_datasize(void)
 {
 	struct rlimit rl;