Message ID | 1340191829-27444-5-git-send-email-colin.king@canonical.com |
---|---|
State | Accepted |
Headers | show |
On Wed, Jun 20, 2012 at 7:30 PM, Colin King <colin.king@canonical.com> wrote: > From: Colin Ian King <colin.king@canonical.com> > > Signed-off-by: Colin Ian King <colin.king@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@canonical.com>
On 06/20/2012 07:30 PM, Colin King wrote: > From: Colin Ian King<colin.king@canonical.com> > > Signed-off-by: Colin Ian King<colin.king@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 > */ Acked-by: Alex Hung <alex.hung@canonical.com>
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 */