diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-03-01 20:15:42 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-03-01 20:15:42 +0800 |
commit | 6ff0fa50367360a9590c76b392571550fc3d15f7 (patch) | |
tree | 5679f1417ed114b8060e5efde6bdf28c9278edf6 /include | |
parent | b845233c50d73dfca2f0e91a7bdc2c480ed5753c (diff) | |
download | pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.gz pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.bz2 pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.lz pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.xz pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.zst pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.zip |
remove my_ctime
add ctime4_r
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/cmsys.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cmsys.h b/include/cmsys.h index 7dfd6e02..da03e192 100644 --- a/include/cmsys.h +++ b/include/cmsys.h @@ -113,19 +113,19 @@ 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 * Cdate_md(const time4_t * clock); -extern const char* my_ctime(const time4_t * t, char *ans, int len); -extern struct tm localtime4r(const time4_t *t); #ifdef TIMET64 struct tm* localtime4(const time4_t *); struct tm* localtime4_r(const time4_t *, struct tm *); time4_t time4(time4_t *); char* ctime4(const time4_t *); + char* ctime4_r(const time4_t *, char *); #else #define localtime4_r(a,b) localtime_r(a,b) #define localtime4(a) localtime(a) #define time4(a) time(a) #define ctime4(a) ctime(a) + #define ctime4_r(a) ctime_r(a) #endif extern int log_filef(const char *fn, int flag, const char *fmt,...) GCC_CHECK_FORMAT(3,4); |