summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2019-08-19 02:26:19 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-20 11:29:31 -0700
commit415b770b88128f0025d7d4663fd9582075875a1b (patch)
treef5bc33d5a74551661749b67e83a5a873ea5a1374
parentt5319: use 'test-tool path-utils' instead of 'ls -l' (diff)
downloadtgif-415b770b88128f0025d7d4663fd9582075875a1b.tar.xz
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>
-rw-r--r--packfile.h2
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,