ERR: Another attempt to get rid of unreferenced inline function warnings on SGI.

This commit is contained in:
Brad King 2003-01-29 14:20:05 -05:00
parent d530fbe731
commit d7ab8e2bcf
1 changed files with 9 additions and 0 deletions

View File

@ -41,6 +41,15 @@
/*REFERENCED*/ int cfsetispeed (struct termios *__t, speed_t __s);
/*REFERENCED*/ int tcgetattr (int __fd, struct termios *__t);
/*REFERENCED*/ int tcsetattr (int __fd, int __act, const struct termios *__t);
enum
{
cmCursesStandardIncludesHackRef1 = sizeof(cfgetospeed(0)),
cmCursesStandardIncludesHackRef2 = sizeof(cfgetospeed(0, 0)),
cmCursesStandardIncludesHackRef3 = sizeof(cfgetispeed(0)),
cmCursesStandardIncludesHackRef4 = sizeof(cfgetispeed(0, 0)),
cmCursesStandardIncludesHackRef5 = sizeof(tcgetattr(0, 0)),
cmCursesStandardIncludesHackRef6 = sizeof(tcsetattr(0, 0, 0))
};
#endif
#ifndef getmaxyx