Skip to content

Commit 415b770

Browse files
Denton-Lgitster
authored andcommitted
packfile.h: drop extern from function declaration
In 336226c (packfile.h: drop extern from function declarations, 2019-04-05), `extern` was removed from function declarations because it's redundant. However, in 8434e85 (repack: refactor pack deletion for future use, 2019-06-10), an `extern` was mistakenly included. Remove this spurious `extern`. Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3612c23 commit 415b770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packfile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ struct packed_git *add_packed_git(const char *path, size_t path_len, int local);
100100
* Does not unlink if 'force_delete' is false and the pack-file is
101101
* marked as ".keep".
102102
*/
103-
extern void unlink_pack_path(const char *pack_name, int force_delete);
103+
void unlink_pack_path(const char *pack_name, int force_delete);
104104

105105
/*
106106
* Make sure that a pointer access into an mmap'd index file is within bounds,

0 commit comments

Comments
 (0)