Commit 4738e5f499f2ed84e2f37b8207dddf4a2d581a8e

Stefan Sperling 2018-06-04T20:46:09

remove unnecessary forward declaration

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/lib/pack.c b/lib/pack.c
index b6a9b01..e4dd851 100644
--- a/lib/pack.c
+++ b/lib/pack.c
@@ -318,10 +318,6 @@ get_object_offset(struct got_packidx *packidx, int idx)
 	return (off_t)(offset & GOT_PACKIDX_OFFSET_VAL_MASK);
 }
 
-static const struct got_error *
-get_packfile_path(char **path_packfile, struct got_repository *repo,
-    struct got_packidx *packidx);
-
 static int
 get_object_idx(struct got_packidx *packidx, struct got_object_id *id,
     struct got_repository *repo)