summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/include/rtems/libio_.h5
-rw-r--r--c/src/exec/libcsupport/include/rtems/libio_.h5
-rw-r--r--c/src/exec/libcsupport/src/libio.c2
-rw-r--r--c/src/exec/libcsupport/src/tcdrain.c2
-rw-r--r--c/src/exec/libcsupport/src/tcgetattr.c2
-rw-r--r--c/src/exec/libcsupport/src/tcsetattr.c2
-rw-r--r--c/src/lib/include/rtems/libio_.h5
-rw-r--r--c/src/lib/libc/libio.c2
-rw-r--r--c/src/lib/libc/libio_.h5
-rw-r--r--c/src/lib/libc/tcdrain.c2
-rw-r--r--c/src/lib/libc/tcgetattr.c2
-rw-r--r--c/src/lib/libc/tcsetattr.c2
-rw-r--r--cpukit/include/rtems/libio_.h5
-rw-r--r--cpukit/libcsupport/include/rtems/libio_.h5
-rw-r--r--cpukit/libcsupport/src/libio.c2
-rw-r--r--cpukit/libcsupport/src/tcdrain.c2
-rw-r--r--cpukit/libcsupport/src/tcgetattr.c2
-rw-r--r--cpukit/libcsupport/src/tcsetattr.c2
18 files changed, 18 insertions, 36 deletions
diff --git a/c/src/exec/include/rtems/libio_.h b/c/src/exec/include/rtems/libio_.h
index e14f63c287..029bb437dd 100644
--- a/c/src/exec/include/rtems/libio_.h
+++ b/c/src/exec/include/rtems/libio_.h
@@ -20,8 +20,8 @@ extern "C" {
#endif
#include <rtems.h>
+#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */
-#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
-
-
/*
* Semaphore to protect the io table
*/
diff --git a/c/src/exec/libcsupport/include/rtems/libio_.h b/c/src/exec/libcsupport/include/rtems/libio_.h
index e14f63c287..029bb437dd 100644
--- a/c/src/exec/libcsupport/include/rtems/libio_.h
+++ b/c/src/exec/libcsupport/include/rtems/libio_.h
@@ -20,8 +20,8 @@ extern "C" {
#endif
#include <rtems.h>
+#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */
-#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
-
-
/*
* Semaphore to protect the io table
*/
diff --git a/c/src/exec/libcsupport/src/libio.c b/c/src/exec/libcsupport/src/libio.c
index 3ea32222f3..ccf95fdb4e 100644
--- a/c/src/exec/libcsupport/src/libio.c
+++ b/c/src/exec/libcsupport/src/libio.c
@@ -37,7 +37,7 @@
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
+#include <rtems/libio.h> /* libio.h not pulled in by rtems */
/*
* File descriptor Table Information
diff --git a/c/src/exec/libcsupport/src/tcdrain.c b/c/src/exec/libcsupport/src/tcdrain.c
index c2749a90e1..b2ff9cfae1 100644
--- a/c/src/exec/libcsupport/src/tcdrain.c
+++ b/c/src/exec/libcsupport/src/tcdrain.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-#include "libio.h"
+#include <rtems/libio.h>
int tcdrain(
int fd
diff --git a/c/src/exec/libcsupport/src/tcgetattr.c b/c/src/exec/libcsupport/src/tcgetattr.c
index 2d3e4d7e3c..ffcd988547 100644
--- a/c/src/exec/libcsupport/src/tcgetattr.c
+++ b/c/src/exec/libcsupport/src/tcgetattr.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-#include "libio.h"
+#include <rtems/libio.h>
int tcgetattr(
int fd,
diff --git a/c/src/exec/libcsupport/src/tcsetattr.c b/c/src/exec/libcsupport/src/tcsetattr.c
index c0ed509a0f..12f2c90946 100644
--- a/c/src/exec/libcsupport/src/tcsetattr.c
+++ b/c/src/exec/libcsupport/src/tcsetattr.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-#include "libio.h"
+#include <rtems/libio.h>
#include "libio_.h"
int tcsetattr(
diff --git a/c/src/lib/include/rtems/libio_.h b/c/src/lib/include/rtems/libio_.h
index e14f63c287..029bb437dd 100644
--- a/c/src/lib/include/rtems/libio_.h
+++ b/c/src/lib/include/rtems/libio_.h
@@ -20,8 +20,8 @@ extern "C" {
#endif
#include <rtems.h>
+#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */
-#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
-
-
/*
* Semaphore to protect the io table
*/
diff --git a/c/src/lib/libc/libio.c b/c/src/lib/libc/libio.c
index 3ea32222f3..ccf95fdb4e 100644
--- a/c/src/lib/libc/libio.c
+++ b/c/src/lib/libc/libio.c
@@ -37,7 +37,7 @@
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
+#include <rtems/libio.h> /* libio.h not pulled in by rtems */
/*
* File descriptor Table Information
diff --git a/c/src/lib/libc/libio_.h b/c/src/lib/libc/libio_.h
index e14f63c287..029bb437dd 100644
--- a/c/src/lib/libc/libio_.h
+++ b/c/src/lib/libc/libio_.h
@@ -20,8 +20,8 @@ extern "C" {
#endif
#include <rtems.h>
+#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */
-#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
-
-
/*
* Semaphore to protect the io table
*/
diff --git a/c/src/lib/libc/tcdrain.c b/c/src/lib/libc/tcdrain.c
index c2749a90e1..b2ff9cfae1 100644
--- a/c/src/lib/libc/tcdrain.c
+++ b/c/src/lib/libc/tcdrain.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-#include "libio.h"
+#include <rtems/libio.h>
int tcdrain(
int fd
diff --git a/c/src/lib/libc/tcgetattr.c b/c/src/lib/libc/tcgetattr.c
index 2d3e4d7e3c..ffcd988547 100644
--- a/c/src/lib/libc/tcgetattr.c
+++ b/c/src/lib/libc/tcgetattr.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-#include "libio.h"
+#include <rtems/libio.h>
int tcgetattr(
int fd,
diff --git a/c/src/lib/libc/tcsetattr.c b/c/src/lib/libc/tcsetattr.c
index c0ed509a0f..12f2c90946 100644
--- a/c/src/lib/libc/tcsetattr.c
+++ b/c/src/lib/libc/tcsetattr.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-#include "libio.h"
+#include <rtems/libio.h>
#include "libio_.h"
int tcsetattr(
diff --git a/cpukit/include/rtems/libio_.h b/cpukit/include/rtems/libio_.h
index e14f63c287..029bb437dd 100644
--- a/cpukit/include/rtems/libio_.h
+++ b/cpukit/include/rtems/libio_.h
@@ -20,8 +20,8 @@ extern "C" {
#endif
#include <rtems.h>
+#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */
-#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
-
-
/*
* Semaphore to protect the io table
*/
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h
index e14f63c287..029bb437dd 100644
--- a/cpukit/libcsupport/include/rtems/libio_.h
+++ b/cpukit/libcsupport/include/rtems/libio_.h
@@ -20,8 +20,8 @@ extern "C" {
#endif
#include <rtems.h>
+#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */
-#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
-
-
/*
* Semaphore to protect the io table
*/
diff --git a/cpukit/libcsupport/src/libio.c b/cpukit/libcsupport/src/libio.c
index 3ea32222f3..ccf95fdb4e 100644
--- a/cpukit/libcsupport/src/libio.c
+++ b/cpukit/libcsupport/src/libio.c
@@ -37,7 +37,7 @@
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
+#include <rtems/libio.h> /* libio.h not pulled in by rtems */
/*
* File descriptor Table Information
diff --git a/cpukit/libcsupport/src/tcdrain.c b/cpukit/libcsupport/src/tcdrain.c
index c2749a90e1..b2ff9cfae1 100644
--- a/cpukit/libcsupport/src/tcdrain.c
+++ b/cpukit/libcsupport/src/tcdrain.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-#include "libio.h"
+#include <rtems/libio.h>
int tcdrain(
int fd
diff --git a/cpukit/libcsupport/src/tcgetattr.c b/cpukit/libcsupport/src/tcgetattr.c
index 2d3e4d7e3c..ffcd988547 100644
--- a/cpukit/libcsupport/src/tcgetattr.c
+++ b/cpukit/libcsupport/src/tcgetattr.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-#include "libio.h"
+#include <rtems/libio.h>
int tcgetattr(
int fd,
diff --git a/cpukit/libcsupport/src/tcsetattr.c b/cpukit/libcsupport/src/tcsetattr.c
index c0ed509a0f..12f2c90946 100644
--- a/cpukit/libcsupport/src/tcsetattr.c
+++ b/cpukit/libcsupport/src/tcsetattr.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-#include "libio.h"
+#include <rtems/libio.h>
#include "libio_.h"
int tcsetattr(