summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:48 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:48 +0200
commit3b76ed10218b68c997531718f86c2876ec38c517 (patch)
treedcaceb243c9a245abcfe1a1a3e500c7e4203e799
parent46743ea28f2480065188e77f23a310eefca62aac (diff)
downloadbarebox-3b76ed10218b68c997531718f86c2876ec38c517.tar.gz
barebox-3b76ed10218b68c997531718f86c2876ec38c517.tar.xz
svn_rev_370
fixups for last commit
-rw-r--r--common/misc.c2
-rw-r--r--net/eth.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/common/misc.c b/common/misc.c
index 9fded4bbbe..121d51d9a3 100644
--- a/common/misc.c
+++ b/common/misc.c
@@ -34,7 +34,7 @@ void *sbrk (ptrdiff_t increment)
int errno;
-void perror(char *s)
+void perror(const char *s)
{
#ifdef CONFIG_ERRNO_MESSAGES
char *str;
diff --git a/net/eth.c b/net/eth.c
index 974c615cff..4acda47fc2 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -28,6 +28,7 @@
#include <net.h>
#include <miiphy.h>
#include <malloc.h>
+#include <errno.h>
static int enetaddr_set(struct device_d *dev, struct param_d *param, value_t val)
{