summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
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