Use proper include for libio.h.

This commit is contained in:
Joel Sherrill
1999-03-16 01:41:16 +00:00
parent e602b3f845
commit 23c4bbf58a
18 changed files with 18 additions and 36 deletions

View File

@@ -20,8 +20,8 @@ extern "C" {
#endif #endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */ #include <rtems/assoc.h> /* assoc.h not included by rtems.h */
#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */ #include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */ #include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> /* calloc() */ #include <stdlib.h> /* calloc() */
#include "libio.h" /* libio.h not pulled in by rtems */
/* /*
* Semaphore to protect the io table * Semaphore to protect the io table
*/ */

View File

@@ -20,8 +20,8 @@ extern "C" {
#endif #endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */ #include <rtems/assoc.h> /* assoc.h not included by rtems.h */
#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */ #include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */ #include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> /* calloc() */ #include <stdlib.h> /* calloc() */
#include "libio.h" /* libio.h not pulled in by rtems */
/* /*
* Semaphore to protect the io table * Semaphore to protect the io table
*/ */

View File

@@ -37,7 +37,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> /* calloc() */ #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 * File descriptor Table Information

View File

@@ -21,7 +21,7 @@
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "libio.h" #include <rtems/libio.h>
int tcdrain( int tcdrain(
int fd int fd

View File

@@ -21,7 +21,7 @@
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "libio.h" #include <rtems/libio.h>
int tcgetattr( int tcgetattr(
int fd, int fd,

View File

@@ -21,7 +21,7 @@
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "libio.h" #include <rtems/libio.h>
#include "libio_.h" #include "libio_.h"
int tcsetattr( int tcsetattr(

View File

@@ -20,8 +20,8 @@ extern "C" {
#endif #endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */ #include <rtems/assoc.h> /* assoc.h not included by rtems.h */
#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */ #include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */ #include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> /* calloc() */ #include <stdlib.h> /* calloc() */
#include "libio.h" /* libio.h not pulled in by rtems */
/* /*
* Semaphore to protect the io table * Semaphore to protect the io table
*/ */

View File

@@ -37,7 +37,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> /* calloc() */ #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 * File descriptor Table Information

View File

@@ -20,8 +20,8 @@ extern "C" {
#endif #endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */ #include <rtems/assoc.h> /* assoc.h not included by rtems.h */
#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */ #include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */ #include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> /* calloc() */ #include <stdlib.h> /* calloc() */
#include "libio.h" /* libio.h not pulled in by rtems */
/* /*
* Semaphore to protect the io table * Semaphore to protect the io table
*/ */

View File

@@ -21,7 +21,7 @@
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "libio.h" #include <rtems/libio.h>
int tcdrain( int tcdrain(
int fd int fd

View File

@@ -21,7 +21,7 @@
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "libio.h" #include <rtems/libio.h>
int tcgetattr( int tcgetattr(
int fd, int fd,

View File

@@ -21,7 +21,7 @@
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "libio.h" #include <rtems/libio.h>
#include "libio_.h" #include "libio_.h"
int tcsetattr( int tcsetattr(

View File

@@ -20,8 +20,8 @@ extern "C" {
#endif #endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */ #include <rtems/assoc.h> /* assoc.h not included by rtems.h */
#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */ #include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */ #include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> /* calloc() */ #include <stdlib.h> /* calloc() */
#include "libio.h" /* libio.h not pulled in by rtems */
/* /*
* Semaphore to protect the io table * Semaphore to protect the io table
*/ */

View File

@@ -20,8 +20,8 @@ extern "C" {
#endif #endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */ #include <rtems/assoc.h> /* assoc.h not included by rtems.h */
#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */ #include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */ #include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> /* calloc() */ #include <stdlib.h> /* calloc() */
#include "libio.h" /* libio.h not pulled in by rtems */
/* /*
* Semaphore to protect the io table * Semaphore to protect the io table
*/ */

View File

@@ -37,7 +37,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> /* calloc() */ #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 * File descriptor Table Information

View File

@@ -21,7 +21,7 @@
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "libio.h" #include <rtems/libio.h>
int tcdrain( int tcdrain(
int fd int fd

View File

@@ -21,7 +21,7 @@
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "libio.h" #include <rtems/libio.h>
int tcgetattr( int tcgetattr(
int fd, int fd,

View File

@@ -21,7 +21,7 @@
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "libio.h" #include <rtems/libio.h>
#include "libio_.h" #include "libio_.h"
int tcsetattr( int tcsetattr(