[rtems commit] telnetd: Regroup includes

Sebastian Huber sebh at rtems.org
Mon Oct 1 10:34:57 UTC 2018


Module:    rtems
Branch:    master
Commit:    2da93bcb735acbd07bdb1529091a484b44c94c48
Changeset: http://git.rtems.org/rtems/commit/?id=2da93bcb735acbd07bdb1529091a484b44c94c48

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Sep 26 09:18:12 2018 +0200

telnetd: Regroup includes

---

 cpukit/telnetd/telnetd.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c
index 86ed8b4..1b0631e 100644
--- a/cpukit/telnetd/telnetd.c
+++ b/cpukit/telnetd/telnetd.c
@@ -40,12 +40,6 @@
 #include "config.h"
 #endif
 
-#include <rtems.h>
-#include <rtems/error.h>
-#include <rtems/pty.h>
-#include <rtems/shell.h>
-#include <rtems/telnetd.h>
-#include <rtems/bspIo.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
@@ -55,8 +49,12 @@
 #include <string.h>
 #include <syslog.h>
 
-#include <rtems/userenv.h>
+#include <rtems.h>
 #include <rtems/error.h>
+#include <rtems/pty.h>
+#include <rtems/shell.h>
+#include <rtems/telnetd.h>
+#include <rtems/userenv.h>
 
 #ifdef RTEMS_NETWORKING
 #include <rtems/rtems_bsdnet.h>




More information about the vc mailing list