packfile.h: drop extern from function declaration
authorDenton Liu <liu.denton@gmail.com>
Mon, 19 Aug 2019 06:26:19 +0000 (02:26 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Aug 2019 18:29:31 +0000 (11:29 -0700)
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>
packfile.h
index 3c436c124f2801caa42584be6eb82c24e1f22278..9c71a23051a70104a16e58c4feca7a098882ce6c 100644 (file)
@@ -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,