diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-11 13:30:25 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-11 13:30:25 +0200 |
commit | 7a033b2d3caf92f3b1d3820b65f591c9e50b1c28 (patch) | |
tree | da98da0089c9bbfefee3326d5cbd0708cffac565 | |
parent | 461341f8489b1de73aee609f3830a8865f885c21 (diff) | |
download | telepathy-logger-7a033b2d3caf92f3b1d3820b65f591c9e50b1c28.tar.gz |
_tpl_time_get_local_time can be static
-rw-r--r-- | telepathy-logger/datetime-internal.h | 1 | ||||
-rw-r--r-- | telepathy-logger/datetime.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/telepathy-logger/datetime-internal.h b/telepathy-logger/datetime-internal.h index 95eff20..34d2928 100644 --- a/telepathy-logger/datetime-internal.h +++ b/telepathy-logger/datetime-internal.h @@ -34,7 +34,6 @@ G_BEGIN_DECLS #define _TPL_TIME_FORMAT_DISPLAY_SHORT "%H:%M" #define _TPL_TIME_FORMAT_DISPLAY_LONG "%a %d %b %Y" time_t _tpl_time_get_current (void); -time_t _tpl_time_get_local_time (struct tm *tm); time_t _tpl_time_parse (const gchar * str); gchar *_tpl_time_to_string_utc (time_t t, const gchar * format); gchar *_tpl_time_to_string_local (time_t t, const gchar * format); diff --git a/telepathy-logger/datetime.c b/telepathy-logger/datetime.c index d164164..215ac73 100644 --- a/telepathy-logger/datetime.c +++ b/telepathy-logger/datetime.c @@ -38,7 +38,7 @@ _tpl_time_get_current (void) return time (NULL); } -time_t +static time_t _tpl_time_get_local_time (struct tm *tm) { const gchar *tz; |