Skip to content

Commit eabbee0

Browse files
committed
example: declare print_usage function
1 parent 8be2261 commit eabbee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/add.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ int print_matched_cb(const char *path, const char *matched_pathspec, void *paylo
110110
return ret;
111111
}
112112

113-
void print_usage(void)
113+
static void print_usage(void)
114114
{
115115
fprintf(stderr, "usage: add [options] [--] file-spec [file-spec] [...]\n\n");
116116
fprintf(stderr, "\t-n, --dry-run dry run\n");

0 commit comments

Comments
 (0)