From fa2ca034cb407aa6fca8768cf6c7c1a70e950782 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 5 May 2008 01:43:15 +0000 Subject: - (internal) add more Cdate format function git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4268 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/cmsys.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/cmsys.h') diff --git a/include/cmsys.h b/include/cmsys.h index 934ccd9d..abb66213 100644 --- a/include/cmsys.h +++ b/include/cmsys.h @@ -108,10 +108,11 @@ extern unsigned StringHash(const char *s); /* time.c */ extern int is_leap_year(int year); extern int getHoroscope(int m, int d); -extern char* Cdate(const time4_t *clock); -extern char* Cdatelite(const time4_t *clock); -extern char* Cdatedate(const time4_t * clock); -extern char* my_ctime(const time4_t * t, char *ans, int len); +extern const char* Cdate(const time4_t *clock); +extern const char* Cdatelite(const time4_t *clock); +extern const char* Cdatedate(const time4_t * clock); +extern const char * Cdate_mdHM(const time4_t * clock); +extern const char* my_ctime(const time4_t * t, char *ans, int len); #ifdef TIMET64 struct tm *localtime4(const time4_t *); time4_t time4(time4_t *); -- cgit v1.2.3