diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-10-21 16:05:05 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-10-21 16:08:14 -0400 |
commit | 710069d5cc48b621e166c8e5a1669e601d1becdd (patch) | |
tree | 9d11905f7da90d6104f93a28bcc8de1992236848 | |
parent | 4a08c0300cf6b0ee3bb5f755007641635ba21f9d (diff) | |
download | bfs-710069d5cc48b621e166c8e5a1669e601d1becdd.tar.xz |
cmdline: Declare functions in a more natural order
-rw-r--r-- | cmdline.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -101,13 +101,6 @@ struct cmdline { }; /** - * Optimize the parsed command line. - * - * @return 0 if successful, -1 on error. - */ -int optimize_cmdline(struct cmdline *cmdline); - -/** * Parse the command line. */ struct cmdline *parse_cmdline(int argc, char *argv[]); @@ -118,6 +111,13 @@ struct cmdline *parse_cmdline(int argc, char *argv[]); void dump_cmdline(const struct cmdline *cmdline, bool verbose); /** + * Optimize the parsed command line. + * + * @return 0 if successful, -1 on error. + */ +int optimize_cmdline(struct cmdline *cmdline); + +/** * Evaluate the command line. */ int eval_cmdline(const struct cmdline *cmdline); |