From: Junio C Hamano Date: Mon, 9 Sep 2019 19:26:38 +0000 (-0700) Subject: Merge branch 'ds/midx-expire-repack' X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8ce8a63b46298501c9afebfea28ed3339a9104b7?ds=inline;hp=-c Merge branch 'ds/midx-expire-repack' Code cleanup. * ds/midx-expire-repack: packfile.h: drop extern from function declaration --- 8ce8a63b46298501c9afebfea28ed3339a9104b7 diff --combined packfile.h index 3e98910bdd,9c71a23051..fc7904ec81 --- a/packfile.h +++ b/packfile.h @@@ -90,7 -90,7 +90,7 @@@ uint32_t get_pack_fanout(struct packed_ unsigned char *use_pack(struct packed_git *, struct pack_window **, off_t, unsigned long *); void close_pack_windows(struct packed_git *); void close_pack(struct packed_git *); -void close_all_packs(struct raw_object_store *o); +void close_object_store(struct raw_object_store *o); void unuse_pack(struct pack_window **); void clear_delta_base_cache(void); struct packed_git *add_packed_git(const char *path, size_t path_len, int local); @@@ -100,7 -100,7 +100,7 @@@ * Does not unlink if 'force_delete' is false and the pack-file is * marked as ".keep". */ - extern void unlink_pack_path(const char *pack_name, int force_delete); + void unlink_pack_path(const char *pack_name, int force_delete); /* * Make sure that a pointer access into an mmap'd index file is within bounds,