[PATCH 4/6] lib: fwts_log: remove fwts_log_line_number(), no longer used

Keng-Yu Lin kengyu at canonical.com
Wed Jun 20 15:01:33 UTC 2012


On Wed, Jun 20, 2012 at 7:30 PM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  src/lib/include/fwts_log.h |    1 -
>  src/lib/src/fwts_log.c     |    9 ---------
>  2 files changed, 10 deletions(-)
>
> diff --git a/src/lib/include/fwts_log.h b/src/lib/include/fwts_log.h
> index 22ec70e..e1d360e 100644
> --- a/src/lib/include/fwts_log.h
> +++ b/src/lib/include/fwts_log.h
> @@ -140,7 +140,6 @@ char     *fwts_log_level_to_str(const fwts_log_level level);
>  char    *fwts_log_field_to_str(const fwts_log_field field);
>  char     *fwts_log_field_to_str_full(const fwts_log_field field);
>  char    *fwts_log_field_to_str_upper(const fwts_log_field field);
> -int      fwts_log_line_number(fwts_log *log);
>  void     fwts_log_set_line_width(const int width);
>  void     fwts_log_section_begin(fwts_log *log, const char *name);
>  void     fwts_log_section_end(fwts_log *log);
> diff --git a/src/lib/src/fwts_log.c b/src/lib/src/fwts_log.c
> index d946c31..5de609e 100644
> --- a/src/lib/src/fwts_log.c
> +++ b/src/lib/src/fwts_log.c
> @@ -48,15 +48,6 @@ void fwts_log_set_line_width(int width)
>  }
>
>  /*
> - *  fwts_log_line_number()
> - *     get current line number of log
> - */
> -int fwts_log_line_number(fwts_log *log)
> -{
> -       return log->line_number;
> -}
> -
> -/*
>  *  fwts_log_field_to_str()
>  *     return string name of log field
>  */
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>




More information about the fwts-devel mailing list