diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-08-19 02:26:19 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-20 11:29:31 -0700 |
commit | 415b770b88128f0025d7d4663fd9582075875a1b (patch) | |
tree | f5bc33d5a74551661749b67e83a5a873ea5a1374 /packfile.h | |
parent | 3612c2334af8b70137a2d3f5497b1b6f4e9762a2 (diff) | |
download | git-415b770b88128f0025d7d4663fd9582075875a1b.tar.gz |
packfile.h: drop extern from function declaration
In 336226c259 (packfile.h: drop extern from function declarations,
2019-04-05), `extern` was removed from function declarations because
it's redundant. However, in 8434e85d5f (repack: refactor pack deletion
for future use, 2019-06-10), an `extern` was mistakenly included.
Remove this spurious `extern`.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'packfile.h')
-rw-r--r-- | packfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packfile.h b/packfile.h index 3c436c124f..9c71a23051 100644 --- a/packfile.h +++ b/packfile.h @@ -100,7 +100,7 @@ struct packed_git *add_packed_git(const char *path, size_t path_len, int local); * 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, |