16 |
|
#undef getchar |
17 |
|
#undef putc |
18 |
|
#undef putchar |
19 |
+ |
#undef feof |
20 |
+ |
#undef ferror |
21 |
|
#define getc getc_unlocked |
22 |
|
#define getchar getchar_unlocked |
23 |
|
#define putc putc_unlocked |
24 |
|
#define putchar putchar_unlocked |
25 |
+ |
#define feof feof_unlocked |
26 |
+ |
#define ferror ferror_unlocked |
27 |
|
#endif |
28 |
|
|
29 |
|
#ifdef __cplusplus |
96 |
|
extern float * matchlamp(char *s); |
97 |
|
extern int loadlamps(char *file); |
98 |
|
extern void freelamps(void); |
99 |
+ |
|
100 |
+ |
#ifndef strlcpy /* defined in option strlcpy.c */ |
101 |
+ |
extern size_t strlcpy(char *dst, const char *src, size_t siz); |
102 |
+ |
extern size_t strlcat(char *dst, const char *src, size_t siz); |
103 |
+ |
#endif |
104 |
|
|
105 |
|
#ifdef __cplusplus |
106 |
|
} |