Skip to content

Commit 758e915

Browse files
committed
quote.c: mark file-local function static
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5092d3e commit 758e915

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

quote.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void sq_quote_argv(struct strbuf *dst, const char** argv, size_t maxlen)
7272
}
7373
}
7474

75-
char *sq_dequote_step(char *arg, char **next)
75+
static char *sq_dequote_step(char *arg, char **next)
7676
{
7777
char *dst = arg;
7878
char *src = arg;

quote.h

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ extern char *sq_dequote(char *);
4545
* next argument that should be passed as first parameter. When there
4646
* is no more argument to be dequoted, "next" is updated to point to NULL.
4747
*/
48-
extern char *sq_dequote_step(char *arg, char **next);
4948
extern int sq_dequote_to_argv(char *arg, const char ***argv, int *nr, int *alloc);
5049

5150
extern int unquote_c_style(struct strbuf *, const char *quoted, const char **endp);

0 commit comments

Comments
 (0)