[PATCH 5/6] telnetd: Regroup includes
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Sep 26 08:30:47 UTC 2018
---
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 86ed8b4090..1b0631e3a6 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>
--
2.16.4
More information about the devel
mailing list