set_max_datasize() should be a static function
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;