diff options
author | Brad King <brad.king@kitware.com> | 2003-01-29 19:20:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-01-29 19:20:05 (GMT) |
commit | d7ab8e2bcfdd071a5a7e1c57915307311041966f (patch) | |
tree | 810b589bb048ddc65bb33af0840dd1a9f7ea666a /Source | |
parent | d530fbe731c0c99cef151337fbe521f330420dad (diff) | |
download | CMake-d7ab8e2bcfdd071a5a7e1c57915307311041966f.zip CMake-d7ab8e2bcfdd071a5a7e1c57915307311041966f.tar.gz CMake-d7ab8e2bcfdd071a5a7e1c57915307311041966f.tar.bz2 |
ERR: Another attempt to get rid of unreferenced inline function warnings on SGI.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CursesDialog/cmCursesStandardIncludes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesStandardIncludes.h b/Source/CursesDialog/cmCursesStandardIncludes.h index a09242e..9abf267 100644 --- a/Source/CursesDialog/cmCursesStandardIncludes.h +++ b/Source/CursesDialog/cmCursesStandardIncludes.h @@ -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 |