Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

rerere.c: mark private file-scope symbols as static

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information...
commit 7e0d4ab585bb8bd4dba722c96e811a02b6c2fdda 1 parent ba35480
Junio C Hamano authored September 15, 2012

Showing 2 changed files with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 2  rerere.c
  2. 1  rerere.h
2  rerere.c
@@ -25,7 +25,7 @@ const char *rerere_path(const char *hex, const char *file)
25 25
 	return git_path("rr-cache/%s/%s", hex, file);
26 26
 }
27 27
 
28  
-int has_rerere_resolution(const char *hex)
  28
+static int has_rerere_resolution(const char *hex)
29 29
 {
30 30
 	struct stat st;
31 31
 	return !stat(rerere_path(hex, "postimage"), &st);
1  rerere.h
@@ -16,7 +16,6 @@ extern void *RERERE_RESOLVED;
16 16
 extern int setup_rerere(struct string_list *, int);
17 17
 extern int rerere(int);
18 18
 extern const char *rerere_path(const char *hex, const char *file);
19  
-extern int has_rerere_resolution(const char *hex);
20 19
 extern int rerere_forget(const char **);
21 20
 extern int rerere_remaining(struct string_list *);
22 21
 extern void rerere_clear(struct string_list *);

0 notes on commit 7e0d4ab

Please sign in to comment.
Something went wrong with that request. Please try again.