diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-12-08 13:20:17 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-12-08 13:20:17 +0200 |
commit | 5af1d3a7bd8149139ad59baa11501e3d11b138a7 (patch) | |
tree | 5586000b3538fdcc120d64a128d36ce158da6da1 /libmu_scm | |
parent | 6301266fabab03f0e1dfcab76e7b6fc1e6eda1c6 (diff) | |
download | mailutils-5af1d3a7bd8149139ad59baa11501e3d11b138a7.tar.gz mailutils-5af1d3a7bd8149139ad59baa11501e3d11b138a7.tar.bz2 |
Move date/time declarations into a separate header: mailutils/datetime.h
Additionally, do not typedef mu_timezone, leave it in struct namespace.
Diffstat (limited to 'libmu_scm')
-rw-r--r-- | libmu_scm/mu_message.c | 4 | ||||
-rw-r--r-- | libmu_scm/mu_scm.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libmu_scm/mu_message.c b/libmu_scm/mu_message.c index 14d8821eb..7f8342fb9 100644 --- a/libmu_scm/mu_message.c +++ b/libmu_scm/mu_message.c @@ -79,7 +79,7 @@ mu_scm_message_print (SCM message_smob, SCM port, scm_print_state * pstate) const char *p; size_t m_size = 0, m_lines = 0; struct tm tm; - mu_timezone tz; + struct mu_timezone tz; char datebuf[sizeof ("Mon Jan 01 00:00")]; /* Warning: length must be > 9 */ mu_message_get_envelope (mum->msg, &env); @@ -404,7 +404,7 @@ SCM_DEFINE_PUBLIC (scm_mu_message_get_envelope_date, "mu-message-get-envelope-da int status; const char *sdate; struct tm tm; - mu_timezone tz; + struct mu_timezone tz; SCM_ASSERT (mu_scm_is_message (mesg), mesg, SCM_ARG1, FUNC_NAME); msg = mu_scm_message_get (mesg); diff --git a/libmu_scm/mu_scm.h b/libmu_scm/mu_scm.h index 5e68e91b1..de946c4ea 100644 --- a/libmu_scm/mu_scm.h +++ b/libmu_scm/mu_scm.h @@ -38,6 +38,7 @@ #include <mailutils/address.h> #include <mailutils/registrar.h> #include <mailutils/util.h> +#include <mailutils/datetime.h> #include <mailutils/stream.h> #include <mailutils/debug.h> #include <mailutils/attribute.h> |