summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/add.c b/examples/add.c
index 5014bd71f..4ff7c79e2 100644
--- a/examples/add.c
+++ b/examples/add.c
@@ -110,7 +110,7 @@ int print_matched_cb(const char *path, const char *matched_pathspec, void *paylo
return ret;
}
-void print_usage(void)
+static void print_usage(void)
{
fprintf(stderr, "usage: add [options] [--] file-spec [file-spec] [...]\n\n");
fprintf(stderr, "\t-n, --dry-run dry run\n");