mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
ead3fc2b31
It turned out that specifying all SRCS and INCS as dependencies on the pattern rules for all headers, caused `make` memory usage to skyrocket from 40mb ot 160mb. This change also reduces the build graph another 4%.
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
#ifndef COSMOPOLITAN_LIBC_TIME_TIME_H_
|
|
#define COSMOPOLITAN_LIBC_TIME_TIME_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
hidden extern const char kWeekdayNameShort[7][4];
|
|
hidden extern const char kWeekdayName[7][10];
|
|
hidden extern const char kMonthNameShort[12][4];
|
|
hidden extern const char kMonthName[12][10];
|
|
hidden extern const unsigned short kMonthYearDay[2][12];
|
|
|
|
extern char *tzname[2];
|
|
extern long CLOCKS_PER_SEC;
|
|
extern long timezone;
|
|
extern int daylight;
|
|
|
|
char *ctime(const int64_t *);
|
|
char *ctime_r(const int64_t *, char[hasatleast 64]);
|
|
double difftime(int64_t, int64_t) dontthrow pureconst;
|
|
extern long double (*nowl)(void);
|
|
int64_t clock(void);
|
|
int64_t posix2time(int64_t) pureconst;
|
|
int64_t time(int64_t *);
|
|
int64_t time2posix(int64_t) pureconst;
|
|
long double ConvertTicksToNanos(uint64_t);
|
|
long double dsleep(long double);
|
|
long double dtime(int);
|
|
unsigned alarm(unsigned);
|
|
unsigned sleep(unsigned);
|
|
void RefreshTime(void);
|
|
void tzset(void);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_TIME_TIME_H_ */
|