diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 12:48:19 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 17:21:32 -0500 |
commit | eabbee0454b74d149ba5f23f1141cc7492fb694f (patch) | |
tree | 0e20bfacb85bbaa56dfd3c1353c359efda1da808 | |
parent | 8be226148f22559cb859a1c035243a7379465665 (diff) | |
download | libgit2-eabbee0454b74d149ba5f23f1141cc7492fb694f.tar.gz |
example: declare print_usage function
-rw-r--r-- | examples/add.c | 2 |
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"); |