summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-01-29 19:20:05 (GMT)
committerBrad King <brad.king@kitware.com>2003-01-29 19:20:05 (GMT)
commitd7ab8e2bcfdd071a5a7e1c57915307311041966f (patch)
tree810b589bb048ddc65bb33af0840dd1a9f7ea666a /Source
parentd530fbe731c0c99cef151337fbe521f330420dad (diff)
downloadCMake-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.h9
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