forked from Imagelibrary/rtems
Use proper include for libio.h.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "libio.h"
|
||||
#include <rtems/libio.h>
|
||||
|
||||
int tcdrain(
|
||||
int fd
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "libio.h"
|
||||
#include <rtems/libio.h>
|
||||
|
||||
int tcgetattr(
|
||||
int fd,
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "libio.h"
|
||||
#include <rtems/libio.h>
|
||||
#include "libio_.h"
|
||||
|
||||
int tcsetattr(
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "libio.h"
|
||||
#include <rtems/libio.h>
|
||||
|
||||
int tcdrain(
|
||||
int fd
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "libio.h"
|
||||
#include <rtems/libio.h>
|
||||
|
||||
int tcgetattr(
|
||||
int fd,
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "libio.h"
|
||||
#include <rtems/libio.h>
|
||||
#include "libio_.h"
|
||||
|
||||
int tcsetattr(
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "libio.h"
|
||||
#include <rtems/libio.h>
|
||||
|
||||
int tcdrain(
|
||||
int fd
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "libio.h"
|
||||
#include <rtems/libio.h>
|
||||
|
||||
int tcgetattr(
|
||||
int fd,
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "libio.h"
|
||||
#include <rtems/libio.h>
|
||||
#include "libio_.h"
|
||||
|
||||
int tcsetattr(
|
||||
|
||||
Reference in New Issue
Block a user