#pragma PRQA_MESSAGES_OFF 3602,3625 #ifndef _TIME_H #define _TIME_H #ifndef _SIZE_T #define _SIZE_T typedef PRQA_SIZE_T size_t; #endif #ifndef NULL #define NULL ((void *) 0) #endif #define CLOCKS_PER_SEC 100 typedef long clock_t; typedef long time_t; struct tm { int tm_sec, tm_min, tm_hour, tm_mday, tm_mon, tm_year, tm_wday, tm_yday, tm_isdst; }; extern clock_t clock(void); extern double difftime(time_t time1, time_t time0); extern time_t mktime(struct tm *timeptr), time(time_t *timer); extern char *asctime(const struct tm *timeptr), *ctime(const time_t *timer); extern struct tm *gmtime(const time_t *timer), *localtime(const time_t *timer); extern size_t strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr); #endif