summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-07-21 10:22:11 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-23 16:46:04 +0200
commitefeeea3501639eb70d192eb88509b3cb79d9d44d (patch)
tree9b0c99a069b1cf5885a3ba755b310026a4574732
parent06df5b2092225edb80cac47c4888ebac4d7348d4 (diff)
downloadbarebox-efeeea3501639eb70d192eb88509b3cb79d9d44d.tar.gz
barebox-efeeea3501639eb70d192eb88509b3cb79d9d44d.tar.xz
drop <stddef.h> includes
The compilers stddef.h should not be included. We declare all types ourselves. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--common/tlsf.c1
-rw-r--r--fs/ext4/ext4_common.c1
-rw-r--r--include/tlsf.h2
3 files changed, 0 insertions, 4 deletions
diff --git a/common/tlsf.c b/common/tlsf.c
index 9515ac764c..984342e095 100644
--- a/common/tlsf.c
+++ b/common/tlsf.c
@@ -1,4 +1,3 @@
-#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c
index ab0e6b5fbc..04b1915d5f 100644
--- a/fs/ext4/ext4_common.c
+++ b/fs/ext4/ext4_common.c
@@ -30,7 +30,6 @@
#include <common.h>
#include <malloc.h>
-#include <stddef.h>
#include <linux/stat.h>
#include <linux/time.h>
#include <asm/byteorder.h>
diff --git a/include/tlsf.h b/include/tlsf.h
index d575e165bf..1917fa111b 100644
--- a/include/tlsf.h
+++ b/include/tlsf.h
@@ -16,8 +16,6 @@
** of the document, therefore no GPL restrictions apply.
*/
-#include <stddef.h>
-
#if defined(__cplusplus)
extern "C" {
#endif