projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e88c13
)
refs.c: make create_cached_refs() static
author
Junio C Hamano
<gitster@pobox.com>
Sun, 11 Sep 2011 22:59:26 +0000
(15:59 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 11 Sep 2011 22:59:26 +0000
(15:59 -0700)
There is nobody outside that calls into this helper function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
patch
|
blob
|
history
diff --git
a/refs.c
b/refs.c
index 2811d8e0534b3bf8fd3ac4ffe6179f3dbce583cf..2cb93e2f7b4dbf86d832751852bb7337f3578efe 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-185,7
+185,7
@@
static void clear_cached_refs(struct cached_refs *ca)
ca->did_loose = ca->did_packed = 0;
}
-struct cached_refs *create_cached_refs(const char *submodule)
+st
atic st
ruct cached_refs *create_cached_refs(const char *submodule)
{
int len;
struct cached_refs *refs;