summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:47 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:47 +0200
commit46743ea28f2480065188e77f23a310eefca62aac (patch)
tree562abfa3654dae6140e6556bb0794eb6d3891d5f /common
parentca69a1484991f8d58cbcca844224e01c5c6eb9b0 (diff)
downloadbarebox-46743ea28f2480065188e77f23a310eefca62aac.tar.gz
svn_rev_369
include asm-generic in errno.h instead of all other files
Diffstat (limited to 'common')
-rw-r--r--common/cmd_edit.c1
-rw-r--r--common/cmd_fs.c1
-rw-r--r--common/cmd_mem.c1
-rw-r--r--common/cmd_net.c1
-rw-r--r--common/env.c2
-rw-r--r--common/environment.c1
-rw-r--r--common/misc.c2
-rw-r--r--common/mtdpart.c2
8 files changed, 3 insertions, 8 deletions
diff --git a/common/cmd_edit.c b/common/cmd_edit.c
index 1b0c6f9..61d7ce3 100644
--- a/common/cmd_edit.c
+++ b/common/cmd_edit.c
@@ -6,7 +6,6 @@
#include <fcntl.h>
#include <readkey.h>
#include <errno.h>
-#include <asm-generic/errno.h>
#include <xfuncs.h>
#define TABSPACE 8
diff --git a/common/cmd_fs.c b/common/cmd_fs.c
index 38ebfe1..7697640 100644
--- a/common/cmd_fs.c
+++ b/common/cmd_fs.c
@@ -2,7 +2,6 @@
#include <command.h>
#include <fs.h>
#include <errno.h>
-#include <asm-generic/errno.h>
#include <malloc.h>
#include <linux/ctype.h>
#include <getopt.h>
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 4027752..7ed8170 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -33,7 +33,6 @@
#include <driver.h>
#include <malloc.h>
#include <errno.h>
-#include <asm-generic/errno.h>
#include <fs.h>
#include <fcntl.h>
#include <getopt.h>
diff --git a/common/cmd_net.c b/common/cmd_net.c
index 1116d58..74a3dbd 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -27,7 +27,6 @@
#include <common.h>
#include <command.h>
#include <environment.h>
-#include <asm-generic/errno.h>
#include <driver.h>
#include <net.h>
#include <fs.h>
diff --git a/common/env.c b/common/env.c
index 8a69017..d0d6487 100644
--- a/common/env.c
+++ b/common/env.c
@@ -2,7 +2,7 @@
#include <command.h>
#include <driver.h>
#include <malloc.h>
-#include <asm-generic/errno.h>
+#include <errno.h>
static ulong env_size;
static char *env_name_spec;
diff --git a/common/environment.c b/common/environment.c
index 8dd7338..fd8307d 100644
--- a/common/environment.c
+++ b/common/environment.c
@@ -3,7 +3,6 @@
#include <driver.h>
#include <malloc.h>
#include <errno.h>
-#include <asm-generic/errno.h>
#include <fs.h>
#include <fcntl.h>
#include <linux/stat.h>
diff --git a/common/misc.c b/common/misc.c
index f7617d0..9fded4b 100644
--- a/common/misc.c
+++ b/common/misc.c
@@ -1,6 +1,6 @@
#include <common.h>
#include <mem_malloc.h>
-#include <asm-generic/errno.h>
+#include <errno.h>
/*
* Begin and End of memory area for malloc(), and current "brk"
diff --git a/common/mtdpart.c b/common/mtdpart.c
index db18f04..14bd1e5 100644
--- a/common/mtdpart.c
+++ b/common/mtdpart.c
@@ -4,7 +4,7 @@
#include <init.h>
#include <driver.h>
#include <malloc.h>
-#include <asm-generic/errno.h>
+#include <errno.h>
#include <partition.h>
static void dev_del_partitions(struct device_d *dev)