forked from Imagelibrary/rtems
Use proper include for libio.h.
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user