diff options
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r-- | mbbsd/announce.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 2ac04137..aad29a92 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -36,9 +36,9 @@ a_loadname(menu_t * pm) } static void -a_timestamp(char *buf, time_t * time) +a_timestamp(char *buf, time4_t *time) { - struct tm *pt = localtime(time); + struct tm *pt = localtime4(time); sprintf(buf, "%02d/%02d/%02d", pt->tm_mon + 1, pt->tm_mday, (pt->tm_year + 1900) % 100); } @@ -50,7 +50,7 @@ a_showmenu(menu_t * pm) int n; fileheader_t *item; char buf[PATHLEN]; - time_t dtime; + time4_t dtime; showtitle("精華文章", pm->mtitle); prints(" \033[1;36m編號 標 題%56s\033[0m", |