* termio-tn.c, termios-tn.c: Define dummy variables if STREAMSPTY isn't defined,...
authorKen Raeburn <raeburn@mit.edu>
Thu, 30 Aug 2001 02:54:03 +0000 (02:54 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 30 Aug 2001 02:54:03 +0000 (02:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13693 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnetd/ChangeLog
src/appl/telnet/telnetd/termio-tn.c
src/appl/telnet/telnetd/termios-tn.c

index aa85149e0fc327f44483831e822d1589199b036f..18c8be364a9c789c8e3ef44dbba10e53f49d1be5 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-29  Ken Raeburn  <raeburn@mit.edu>
+
+       * termio-tn.c, termios-tn.c: Define dummy variables if STREAMSPTY
+       isn't defined, to silence compiler complaints about empty files.
+
 2001-08-02  Tom Yu  <tlyu@mit.edu>
 
        * authenc.c (net_write): Rewrite in terms of netwrite().
index 24eaffdce93eee897bfab85ccf99afa45b464747..c34f5eb16775af65031b1ca1063a28006aaadae5 100644 (file)
@@ -28,4 +28,6 @@ int readstream_termio(cmd, ibuf, vstop, vstart, ixon)
   return -1;
 }
 
+#else
+int silence_warnings_about_empty_source_file_termio = 42;
 #endif /* STREAMSPTY */
index 7e2aa5cb4c1812778f21e3b18f1978031cae4f07..3e5488371c5a4e337b68c8d8de02a8da085ecfce 100644 (file)
@@ -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 */