summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-01-11 22:31:06 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-12 01:06:08 -0800
commit758e915b8a220ebe967edf745eb699b30d501993 (patch)
treedf307a7054027969c3081d18e383278359f682b4
parentremote-curl.c: mark file-local function static (diff)
downloadtgif-758e915b8a220ebe967edf745eb699b30d501993.tar.xz
quote.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--quote.c2
-rw-r--r--quote.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/quote.c b/quote.c
index 848d174cc5..acb6bf929f 100644
--- a/quote.c
+++ b/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 *src = arg;
diff --git a/quote.h b/quote.h
index 66730f2bff..f83eb233c4 100644
--- a/quote.h
+++ b/quote.h
@@ -45,7 +45,6 @@ extern char *sq_dequote(char *);
* 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);