shallow.c: make check_shallow_file_for_update() static
[gitweb.git] / shallow.c
index cdd07751461e69291588dee801c3563644cb1107..04ea816e0e8f2ed2829ed4ceca8d031a867e2cda 100644 (file)
--- a/shallow.c
+++ b/shallow.c
@@ -137,7 +137,7 @@ struct commit_list *get_shallow_commits(struct object_array *heads, int depth,
        return result;
 }
 
-void check_shallow_file_for_update(void)
+static void check_shallow_file_for_update(void)
 {
        if (is_shallow == -1)
                die("BUG: shallow must be initialized by now");