Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
quote.c: mark file-local function static
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
raw
|
patch
|
inline
| side by side (parent:
5092d3e
)
diff --git
a/quote.c
b/quote.c
index 848d174cc56be32483ba6c73f9b06bc398ed6437..acb6bf929f3e5807139fa7852f739e6ff5a50722 100644
(file)
--- 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;
{
char *dst = arg;
char *src = arg;
diff --git
a/quote.h
b/quote.h
index 66730f2bff3cee42bc7c670e2a6d7da240db1d08..f83eb233c4b153c4c073b3ccd5bf2f5dd926b739 100644
(file)
--- 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.
*/
* 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);
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);