aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-24 07:23:24 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-24 07:23:24 +0000
commit92b665eb056725f2a9358492ec09a7e02563942d (patch)
tree952928746e883c4884145e371526d36eed92afff /src/utils.c
parentc5e887e718761a5581bcad1b1cabae0e0b1d8d63 (diff)
removed some warnings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@375 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index 1638bba9..3d022d9e 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -3151,6 +3151,13 @@ void get_rfc822_date(gchar *buf, gint len)
day, dd, mon, yyyy, hh, mm, ss, tzoffset(&t));
}
+/* just a wrapper to suppress the warning of gcc about %c */
+size_t my_strftime(gchar *s, size_t max, const gchar *format,
+ const struct tm *tm)
+{
+ return strftime(s, max, format, tm);
+}
+
static FILE *log_fp = NULL;
void set_log_file(const gchar *filename)