Commit | Line | Data |
---|---|---|
d14a8a06 SC |
1 | #include <errno.h> |
2 | #include <sys/types.h> | |
3 | #include <unistd.h> | |
4 | ||
5 | #include <string.h> | |
6 | #include <fcntl.h> | |
7 | #include <sys/stat.h> | |
8 | #include <time.h> | |
9 | #include <ctype.h> | |
10 | ||
11 | #include <stdio.h> | |
12 | ||
13 | #ifndef DONTDECLARE_MALLOC | |
302c8ab1 | 14 | extern PTR EXFUN(malloc,(unsigned)); |
56a56f4c | 15 | extern PTR EXFUN(realloc, (PTR, unsigned)); |
d14a8a06 | 16 | #endif |
302c8ab1 SC |
17 | extern int EXFUN(abort,(void)); |
18 | extern int EXFUN(free,(PTR)); | |
19 | extern void EXFUN(bcopy,(char*,char*,int)); | |
20 | extern void EXFUN(exit,(int)); | |
21 | extern void EXFUN(bzero,(char *, int)); | |
d14a8a06 | 22 | |
302c8ab1 | 23 | extern int strtol(); |
d14a8a06 SC |
24 | /* EXACT TYPES */ |
25 | typedef char int8e_type; | |
26 | typedef unsigned char uint8e_type; | |
27 | typedef short int16e_type; | |
28 | typedef unsigned short uint16e_type; | |
29 | typedef int int32e_type; | |
30 | typedef unsigned int uint32e_type; | |
31 | ||
32 | /* CORRECT SIZE OR GREATER */ | |
33 | typedef char int8_type; | |
34 | typedef unsigned char uint8_type; | |
35 | typedef short int16_type; | |
36 | typedef unsigned short uint16_type; | |
37 | typedef int int32_type; | |
38 | typedef unsigned int uint32_type; | |
a5431adc | 39 | #include "fopen-same.h" |