Changeset ef18d36 in rtems


Ignore:
Timestamp:
Sep 26, 2017, 5:52:08 AM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e2fe881a
Parents:
e460cd00
git-author:
Sebastian Huber <sebastian.huber@…> (09/26/17 05:52:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/27/17 10:10:10)
Message:

posix: Remove superfluous includes

Location:
cpukit/posix/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/barrierattrdestroy.c

    re460cd00 ref18d36  
    1919#endif
    2020
     21#include <errno.h>
    2122#include <pthread.h>
    22 #include <errno.h>
    23 
    24 #include <rtems/system.h>
    25 #include <rtems/score/watchdog.h>
    26 #include <rtems/posix/condimpl.h>
    27 #include <rtems/posix/muteximpl.h>
     23#include <stddef.h>
     24#include <stdbool.h>
    2825
    2926/*
     
    3532)
    3633{
    37   if ( !attr || attr->is_initialized == false )
     34  if ( attr == NULL || !attr->is_initialized )
    3835    return EINVAL;
    3936
  • cpukit/posix/src/rwlockattrdestroy.c

    re460cd00 ref18d36  
    1919#endif
    2020
     21#include <errno.h>
    2122#include <pthread.h>
    22 #include <errno.h>
    23 
    24 #include <rtems/system.h>
    25 #include <rtems/score/watchdog.h>
    26 #include <rtems/posix/condimpl.h>
    27 #include <rtems/posix/muteximpl.h>
     23#include <stddef.h>
     24#include <stdbool.h>
    2825
    2926/*
     
    3532)
    3633{
    37   if ( !attr || attr->is_initialized == false )
     34  if ( attr == NULL || !attr->is_initialized )
    3835    return EINVAL;
    3936
Note: See TracChangeset for help on using the changeset viewer.