scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1struct tm;
 2struct _FILE;
 3
 4void *_getheap(void);
 5int _dtoi(char c);
 6
 7#ifdef stdin
 8int _allocbuf(FILE *);
 9int _flsbuf(FILE *);
10FILE *_fpopen(const char * restrict, const char *restrict,
11                     FILE *restrict);
12#endif
13
14#ifdef _TIME_H
15
16#define JAN 0
17#define FEB 1
18#define DEC 11
19
20#define FEBDAYS(y) ((_daysyear(y) == 366) ? 29 : 28)
21#define EPOCH 1970
22#define BASEYEAR 1900
23#define SECMIN 60
24#define SECHOUR (60 * SECMIN)    /* 3600 */
25#define SECDAY (24 * SECHOUR)   /* 86400 */
26
27enum {
28	SUN,
29	MON,
30	TUE,
31	WED,
32	THU,
33	FRI,
34	SAT
35};
36
37struct tzone;
38
39/* _tzone.c variables */
40extern int _daylight;
41extern char *_tzname[2];
42extern long _timezone, _dstzone;
43
44extern int _daysmon[12];
45
46void _tzset(void);
47int _isdst(struct tm *);
48int _daysyear(int);
49int _newyear(int);
50char *_gmtoff(char *);
51#endif
52
53extern unsigned _exitn;
54extern void (*_flushall)(void);
55extern void (*_atexithdl)(void);
56
57#ifdef _WCHAR_H
58int _validutf8(wchar_t, int *);
59wint_t _fputwc(wchar_t, struct _FILE *, int *);
60#endif