diff options
Diffstat (limited to 'include/cmsys.h')
-rw-r--r-- | include/cmsys.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 *); |