From: Junio C Hamano Date: Sat, 15 Sep 2012 21:06:00 +0000 (-0700) Subject: rerere.c: mark private file-scope symbols as static X-Git-Tag: v1.8.0-rc0~35^2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e0d4ab585bb8bd4dba722c96e811a02b6c2fdda;p=git.git rerere.c: mark private file-scope symbols as static Signed-off-by: Junio C Hamano --- diff --git a/rerere.c b/rerere.c index b57a34daa..a6a5cd57b 100644 --- a/rerere.c +++ b/rerere.c @@ -25,7 +25,7 @@ const char *rerere_path(const char *hex, const char *file) return git_path("rr-cache/%s/%s", hex, file); } -int has_rerere_resolution(const char *hex) +static int has_rerere_resolution(const char *hex) { struct stat st; return !stat(rerere_path(hex, "postimage"), &st); diff --git a/rerere.h b/rerere.h index fcd8bc10b..156d2aad8 100644 --- a/rerere.h +++ b/rerere.h @@ -16,7 +16,6 @@ extern void *RERERE_RESOLVED; extern int setup_rerere(struct string_list *, int); extern int rerere(int); extern const char *rerere_path(const char *hex, const char *file); -extern int has_rerere_resolution(const char *hex); extern int rerere_forget(const char **); extern int rerere_remaining(struct string_list *); extern void rerere_clear(struct string_list *);