aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/localtime.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-12 21:25:57 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-12 21:25:57 +0000
commit21583e9453ceb90054d9b518afbb893818b30316 (patch)
tree51d668852ed8b3d3fa73f9dbcbf098cdd1daffbd /include/asterisk/localtime.h
parente6abcba2f2303cfae1315e11f5ba7b762c460569 (diff)
Merged revisions 82285 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82285 | tilghman | 2007-09-12 15:12:06 -0500 (Wed, 12 Sep 2007) | 4 lines Working on issue #10531 exposed a rather nasty 64-bit issue on ast_mktime, so we updated the localtime.c file from source. Next we'll have to write ast_strptime to match. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82290 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/localtime.h')
-rw-r--r--include/asterisk/localtime.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asterisk/localtime.h b/include/asterisk/localtime.h
index cf2256ee6..4d46198c7 100644
--- a/include/asterisk/localtime.h
+++ b/include/asterisk/localtime.h
@@ -40,11 +40,8 @@ struct ast_tm {
int tm_usec; /* microseconds */
};
-int ast_tzsetwall(void);
-void ast_tzset(const char *name);
struct ast_tm *ast_localtime(const struct timeval *timep, struct ast_tm *p_tm, const char *zone);
-time_t ast_mktime(struct ast_tm * const tmp, const char *zone);
-char *ast_ctime(const struct timeval * const timep, char *buf);
+struct timeval ast_mktime(struct ast_tm * const tmp, const char *zone);
int ast_strftime(char *buf, size_t len, const char *format, const struct ast_tm *tm);
#endif /* _ASTERISK_LOCALTIME_H */