From 710069d5cc48b621e166c8e5a1669e601d1becdd Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 21 Oct 2017 16:05:05 -0400 Subject: cmdline: Declare functions in a more natural order --- cmdline.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cmdline.h b/cmdline.h index 7c1891c..e9731f9 100644 --- a/cmdline.h +++ b/cmdline.h @@ -100,13 +100,6 @@ struct cmdline { int nopen_files; }; -/** - * Optimize the parsed command line. - * - * @return 0 if successful, -1 on error. - */ -int optimize_cmdline(struct cmdline *cmdline); - /** * Parse the command line. */ @@ -117,6 +110,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. */ -- cgit v1.2.3