mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 15:39:19 +08:00
2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/fork.c: Include <unistd.h> for "fork" prototype. Don't include <sys/types.h> (unnecessary).
This commit is contained in:
+5
-2
@@ -1,3 +1,8 @@
|
||||
2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
|
||||
Don't include <sys/types.h> (unnecessary).
|
||||
|
||||
2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
PR 1985/cpukit
|
||||
@@ -236,8 +241,6 @@
|
||||
Include <rtems/posix/semaphore.h> (Missing prototypes).
|
||||
* posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler
|
||||
static.
|
||||
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
|
||||
Don't include <sys/types.h> (unnecessary).
|
||||
* libcsupport/src/termios.c: Remove unnecessary cast.
|
||||
* libmisc/shell/main_mv.c: Add prototype for main_mv.
|
||||
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <rtems/seterr.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user