ACK: [PATCH 2/5] lib: fwts_args: move #defines to start of source

ivanhu ivan.hu at canonical.com
Mon Oct 24 07:56:13 UTC 2016



On 2016年10月19日 20:37, Colin King wrote:
> 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
>

Acked-by: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list