diff options
author | katherine <shmibs@shmibbles.me> | 2018-03-18 12:48:57 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2018-03-18 12:48:57 -0700 |
commit | ada96265ab15e72f491ba35e05f45583a8a7dedf (patch) | |
tree | ae2f3e9bc33c0423e9e145465417c5fafe9ee4b0 /doc | |
parent | 37332b77909844642c924972ea53382c4a24289c (diff) | |
download | simple-opt-ada96265ab15e72f491ba35e05f45583a8a7dedf.tar.gz |
make defines static
was an idiot and removed before, second-guessing myself -_-
Diffstat (limited to 'doc')
-rw-r--r-- | doc/interface.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/interface.md b/doc/interface.md index 5e2bb4e..361dcf9 100644 --- a/doc/interface.md +++ b/doc/interface.md @@ -163,8 +163,8 @@ single header file nature) simple_opt_result`: ``` -struct simple_opt_result simple_opt_parse(int argc, char **argv, struct - simple_opt *options); +static struct simple_opt_result simple_opt_parse(int argc, char **argv, + struct simple_opt *options); ``` `argc` is the number of arguments contained in `argv`, and `argv` is an array @@ -182,8 +182,8 @@ about that parsing (also described above). usage message, similar to those typical of GNU cli commands: ``` -void simple_opt_print_usage(FILE *f, unsigned width, char *usage_name, - char *usage_options, char *usage_summary, struct simple_opt *options) +static void simple_opt_print_usage(FILE *f, unsigned width, char *usage_name, + char *usage_options, char *usage_summary, struct simple_opt *options); ``` `f` is a file pointer to which the message should be printed |