Changeset 4172953c in rtems


Ignore:
Timestamp:
Dec 10, 2011, 5:34:15 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
d71462b
Parents:
0a3c6d8
Message:

2011-12-10 Ralf Corsépius <ralf.corsepius@…>

  • posix/src/fork.c: Include <unistd.h> for "fork" prototype. Don't include <sys/types.h> (unnecessary).
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r0a3c6d8 r4172953c  
     12011-12-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * posix/src/fork.c: Include <unistd.h> for "fork" prototype.
     4        Don't include <sys/types.h> (unnecessary).
     5
    162011-12-10      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
     
    237242        * posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler
    238243        static.
    239         * posix/src/fork.c: Include <unistd.h> for "fork" prototype.
    240         Don't include <sys/types.h> (unnecessary).
    241244        * libcsupport/src/termios.c: Remove unnecessary cast.
    242245        * libmisc/shell/main_mv.c: Add prototype for main_mv.
  • cpukit/posix/src/fork.c

    r0a3c6d8 r4172953c  
    1616#endif
    1717
    18 #include <sys/types.h>
     18#include <unistd.h>
     19
    1920#include <errno.h>
    2021#include <rtems/seterr.h>
Note: See TracChangeset for help on using the changeset viewer.