summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5092d3e)
raw | patch | inline | side by side (parent: 5092d3e)
author | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Jan 2010 06:31:06 +0000 (22:31 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Jan 2010 09:06:08 +0000 (01:06 -0800) |
Signed-off-by: Junio C Hamano <gitster@pobox.com>
quote.c | patch | blob | history | |
quote.h | patch | blob | history |
index 848d174cc56be32483ba6c73f9b06bc398ed6437..acb6bf929f3e5807139fa7852f739e6ff5a50722 100644 (file)
--- a/quote.c
+++ b/quote.c
}
}
-char *sq_dequote_step(char *arg, char **next)
+static char *sq_dequote_step(char *arg, char **next)
{
char *dst = arg;
char *src = arg;
index 66730f2bff3cee42bc7c670e2a6d7da240db1d08..f83eb233c4b153c4c073b3ccd5bf2f5dd926b739 100644 (file)
--- a/quote.h
+++ b/quote.h
* 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.
*/
-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 unquote_c_style(struct strbuf *, const char *quoted, const char **endp);