quote.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jan 11, 2010 at 22:31 UTC
758e915b8a220ebe967edf745eb699b30d501993
2 files changed
+1
-2
quote.c
+1
-1
@@ -72,7 +72,7 @@ void sq_quote_argv(struct strbuf *dst, const char** argv, size_t maxlen)
72
}
73
}
74
75
-char *sq_dequote_step(char *arg, char **next)
75
+static char *sq_dequote_step(char *arg, char **next)
76
{
77
char *dst = arg;
78
char *src = arg;
quote.h
-1
@@ -45,7 +45,6 @@ extern char *sq_dequote(char *);
45
* next argument that should be passed as first parameter. When there
46
* is no more argument to be dequoted, "next" is updated to point to NULL.
47
*/
48
-extern char *sq_dequote_step(char *arg, char **next);
48
extern int sq_dequote_to_argv(char *arg, const char ***argv, int *nr, int *alloc);
49
50
extern int unquote_c_style(struct strbuf *, const char *quoted, const char **endp);