summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-22 17:36:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-22 17:36:23 +0000
commitc8f05db3b80178c7ed8fb6893bb29d5406b58602 (patch)
treed7040340548fc4098d0758ddd7fd43f04738002d /cpukit
parent6703f877a2bb145a209f024cbc0cbc145740a644 (diff)
downloadrtems-c8f05db3b80178c7ed8fb6893bb29d5406b58602.tar.bz2
2002-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems_telnetd/pty.c: Move config.h to were it belongs. Remove printf (Reported by Till Straumann <strauman@SLAC.Stanford.EDU>).
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/ChangeLog6
-rw-r--r--cpukit/telnetd/pty.c11
2 files changed, 11 insertions, 6 deletions
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog
index c5ee2afc0f..0562a8dbd2 100644
--- a/cpukit/libnetworking/ChangeLog
+++ b/cpukit/libnetworking/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * rtems_telnetd/pty.c: Move config.h to were it belongs.
+ Remove printf (Reported by Till Straumann
+ <strauman@SLAC.Stanford.EDU>).
+
2001-01-16 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.clib/tftpDriver.c: Fix TFTP block number checking.
diff --git a/cpukit/telnetd/pty.c b/cpukit/telnetd/pty.c
index a18b286922..18621acac6 100644
--- a/cpukit/telnetd/pty.c
+++ b/cpukit/telnetd/pty.c
@@ -10,6 +10,11 @@
*
* $Id$
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/*-----------------------------------------*/
#include <termios.h>
#include <rtems.h>
@@ -22,12 +27,6 @@
#include <string.h>
#include <unistd.h>
/*-----------------------------------------*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-/*-----------------------------------------*/
-#define printk printf
-/*-----------------------------------------*/
#define IAC_ESC 255
#define IAC_DONT 254
#define IAC_DO 253