OSDN Git Service

pathspec: remove unnecessary function prototypes
authorBrandon Williams <bmwill@google.com>
Tue, 13 Sep 2016 16:52:51 +0000 (09:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Sep 2016 23:10:03 +0000 (16:10 -0700)
A few functions were removed in 5a76aff1 ("add: convert to use
parse_pathspec", 2013-07-14), but we forgot to remove their external
declarations from pathspec.h while doing so.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pathspec.h

index 0c11262..08f5876 100644 (file)
@@ -96,7 +96,5 @@ static inline int ps_strcmp(const struct pathspec_item *item,
 
 extern char *find_pathspecs_matching_against_index(const struct pathspec *pathspec);
 extern void add_pathspec_matches_against_index(const struct pathspec *pathspec, char *seen);
-extern const char *check_path_for_gitlink(const char *path);
-extern void die_if_path_beyond_symlink(const char *path, const char *prefix);
 
 #endif /* PATHSPEC_H */