mirror of
https://github.com/git/git.git
synced 2024-11-27 20:14:30 +08:00
quote.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
5092d3ec21
commit
758e915b8a
2
quote.c
2
quote.c
@ -72,7 +72,7 @@ void sq_quote_argv(struct strbuf *dst, const char** argv, size_t maxlen)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
char *sq_dequote_step(char *arg, char **next)
|
static char *sq_dequote_step(char *arg, char **next)
|
||||||
{
|
{
|
||||||
char *dst = arg;
|
char *dst = arg;
|
||||||
char *src = arg;
|
char *src = arg;
|
||||||
|
1
quote.h
1
quote.h
@ -45,7 +45,6 @@ extern char *sq_dequote(char *);
|
|||||||
* next argument that should be passed as first parameter. When there
|
* next argument that should be passed as first parameter. When there
|
||||||
* is no more argument to be dequoted, "next" is updated to point to NULL.
|
* is no more argument to be dequoted, "next" is updated to point to NULL.
|
||||||
*/
|
*/
|
||||||
extern char *sq_dequote_step(char *arg, char **next);
|
|
||||||
extern int sq_dequote_to_argv(char *arg, const char ***argv, int *nr, int *alloc);
|
extern int sq_dequote_to_argv(char *arg, const char ***argv, int *nr, int *alloc);
|
||||||
|
|
||||||
extern int unquote_c_style(struct strbuf *, const char *quoted, const char **endp);
|
extern int unquote_c_style(struct strbuf *, const char *quoted, const char **endp);
|
||||||
|
Loading…
Reference in New Issue
Block a user