Skip to content

Commit

Permalink
quote.c: mark file-local function static
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Jan 12, 2010
1 parent 5092d3e commit 758e915
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion quote.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion quote.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 758e915

Please sign in to comment.