legacy junk compatibility grab-bag

- add the rest of the junk traditionally in sys/param.h
- add prototypes for some nonstandard functions
- add _GNU_SOURCE to their source files so the compiler can check proto
This commit is contained in:
Rich Felker
2012-04-18 12:22:24 -04:00
parent ed0e3a357e
commit ba6a9e7734
6 changed files with 36 additions and 7 deletions

View File

@ -32,6 +32,11 @@ int tcflow (int, int);
pid_t tcgetsid (int);
#ifdef _GNUS_SOURCE
void cfmakeraw(struct termios *);
int cfsetspeed(struct termios *, speed_t);
#endif
#ifdef __cplusplus
}
#endif