13 |
|
|
14 |
|
#ifdef getc_unlocked /* avoid horrendous overhead of flockfile */ |
15 |
|
#undef getc |
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 |
32 |
|
/* defined in badarg.c */ |
33 |
|
extern int badarg(int ac, char **av, char *fl); |
34 |
|
/* defined in expandarg.c */ |
35 |
+ |
extern int envexpchr, filexpchr; |
36 |
|
extern int expandarg(int *acp, char ***avp, int n); |
37 |
|
/* defined in fdate.c */ |
38 |
|
extern time_t fdate(char *fname); |