summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking
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 /c/src/libnetworking
parent2002-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (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 'c/src/libnetworking')
-rw-r--r--c/src/libnetworking/ChangeLog6
-rw-r--r--c/src/libnetworking/rtems_telnetd/pty.c11
2 files changed, 11 insertions, 6 deletions
diff --git a/c/src/libnetworking/ChangeLog b/c/src/libnetworking/ChangeLog
index c5ee2afc0f..0562a8dbd2 100644
--- a/c/src/libnetworking/ChangeLog
+++ b/c/src/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/c/src/libnetworking/rtems_telnetd/pty.c b/c/src/libnetworking/rtems_telnetd/pty.c
index a18b286922..18621acac6 100644
--- a/c/src/libnetworking/rtems_telnetd/pty.c
+++ b/c/src/libnetworking/rtems_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