From ada96265ab15e72f491ba35e05f45583a8a7dedf Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 18 Mar 2018 12:48:57 -0700 Subject: make defines static was an idiot and removed before, second-guessing myself -_- --- doc/interface.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3