summaryrefslogtreecommitdiffstats
path: root/src/appl/telnet/telnetd/termios-tn.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2001-08-30 02:54:03 +0000
committerKen Raeburn <raeburn@mit.edu>2001-08-30 02:54:03 +0000
commit6cac5deb8618f9180706ed24d0386b3e7524a297 (patch)
treed3b87422d2c54ca580311875e6e9e721a80a6d66 /src/appl/telnet/telnetd/termios-tn.c
parentec91c9df9ed9a44d1edf57d814f979e78bf66280 (diff)
downloadkrb5-6cac5deb8618f9180706ed24d0386b3e7524a297.tar.gz
krb5-6cac5deb8618f9180706ed24d0386b3e7524a297.tar.xz
krb5-6cac5deb8618f9180706ed24d0386b3e7524a297.zip
* termio-tn.c, termios-tn.c: Define dummy variables if STREAMSPTY isn't defined, to silence compiler complaints about empty files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13693 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/telnet/telnetd/termios-tn.c')
-rw-r--r--src/appl/telnet/telnetd/termios-tn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/appl/telnet/telnetd/termios-tn.c b/src/appl/telnet/telnetd/termios-tn.c
index 7e2aa5cb4c..3e5488371c 100644
--- a/src/appl/telnet/telnetd/termios-tn.c
+++ b/src/appl/telnet/telnetd/termios-tn.c
@@ -30,4 +30,6 @@ int readstream_termios(cmd, ibuf, vstop, vstart, ixon)
return -1;
}
+#else
+int silence_warnings_about_empty_source_file_termios = 42;
#endif /* STREAMSPTY */