path.c: Remove the 'git_' prefix from a file scope function

In particular, the git_vsnpath() function, despite the 'git_' prefix suggesting otherwise, is (correctly) declared with file scope. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramsay Jones committed Sep 4, 2012 at 18:26 UTC 5b3b8fa2ab188908332358d2c2576491969cd580
1 file changed +3 -3
path.c
+3 -3
@@ -48,7 +48,7 @@ char *mksnpath(char *buf, size_t n, const char *fmt, ...)
48 return cleanup_path(buf);
49 }
50
51 -static char *git_vsnpath(char *buf, size_t n, const char *fmt, va_list args)
51 +static char *vsnpath(char *buf, size_t n, const char *fmt, va_list args)
52 {
53 const char *git_dir = get_git_dir();
54 size_t len;
@@ -72,7 +72,7 @@ char *git_snpath(char *buf, size_t n, const char *fmt, ...)
72 {
73 va_list args;
74 va_start(args, fmt);
75 - (void)git_vsnpath(buf, n, fmt, args);
75 + (void)vsnpath(buf, n, fmt, args);
76 va_end(args);
77 return buf;
78 }
@@ -82,7 +82,7 @@ char *git_pathdup(const char *fmt, ...)
82 char path[PATH_MAX];
83 va_list args;
84 va_start(args, fmt);
85 - (void)git_vsnpath(path, sizeof(path), fmt, args);
85 + (void)vsnpath(path, sizeof(path), fmt, args);
86 va_end(args);
87 return xstrdup(path);
88 }