[PATCH 2/5] lib: fwts_args: move #defines to start of source
Colin King
colin.king at canonical.com
Wed Oct 19 12:37:52 UTC 2016
From: Colin Ian King <colin.king at canonical.com>
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
src/lib/src/fwts_args.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib/src/fwts_args.c b/src/lib/src/fwts_args.c
index 83287a2..67b529e 100644
--- a/src/lib/src/fwts_args.c
+++ b/src/lib/src/fwts_args.c
@@ -28,6 +28,9 @@
#include "fwts.h"
+#define FWTS_ARGS_WIDTH (28)
+#define FWTS_MIN_TTY_WIDTH (50)
+
/*
* Internal options table, we keep a list of all of the added options and keep a tally
* of how many options there are in each table.
@@ -229,9 +232,6 @@ static int fwts_args_compare_options(void *data1, void *data2)
return strcmp(opt1->long_name, opt2->long_name);
}
-#define FWTS_ARGS_WIDTH 28
-#define FWTS_MIN_TTY_WIDTH 50
-
/*
* fwts_args_show_option()
* pretty print an option
--
2.9.3
More information about the fwts-devel
mailing list