replace all time_t/__time64_t with hc_time_t and all related functions

This commit is contained in:
philsmd
2017-08-16 19:43:41 +02:00
parent 21e9c63d46
commit e33e828bc6
16 changed files with 94 additions and 101 deletions
+3 -3
View File
@@ -62,8 +62,8 @@ void hc_string_trim_leading (char *s);
size_t hc_fread (void *ptr, size_t size, size_t nmemb, FILE *stream);
void hc_fwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream);
void hc_time (hc_time_t *t);
struct tm *hc_gmtime (hc_time_t *t);
char *hc_ctime (hc_time_t *t, char *buf, MAYBE_UNUSED size_t buf_size);
hc_time_t hc_time (hc_time_t *t);
struct tm *hc_gmtime (const hc_time_t *t, MAYBE_UNUSED struct tm *result);
char *hc_ctime (const hc_time_t *t, char *buf, MAYBE_UNUSED const size_t buf_size);
#endif // _SHARED_H