libblock: Drop superfluous <stdlib.h> include

Drop superfluous <stdlib.h> include from <rtems/diskdevs.h> since this
leads to conflicts with the latest Newlib in case this header file is
used in the FreeBSD kernel space, e.g. for USB mass storage support.
This commit is contained in:
Sebastian Huber
2016-04-07 10:29:09 +02:00
parent af13b01888
commit d8ec270b33
7 changed files with 6 additions and 1 deletions

View File

@@ -17,7 +17,6 @@
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/chain.h>
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {

View File

@@ -33,6 +33,7 @@
#include <limits.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <pthread.h>

View File

@@ -20,6 +20,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <unistd.h>

View File

@@ -20,6 +20,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>

View File

@@ -19,6 +19,7 @@
#endif
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <rtems/rfs/rtems-rfs-data.h>

View File

@@ -20,6 +20,7 @@
#endif
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <rtems/rfs/rtems-rfs-block-pos.h>

View File

@@ -18,6 +18,7 @@
#endif
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <rtems/rfs/rtems-rfs-block.h>