From 3b76ed10218b68c997531718f86c2876ec38c517 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 5 Jul 2007 18:01:48 +0200 Subject: [PATCH] svn_rev_370 fixups for last commit --- common/misc.c | 2 +- net/eth.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/misc.c b/common/misc.c index 9fded4bbb..121d51d9a 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 974c615cf..4acda47fc 100644 --- a/net/eth.c +++ b/net/eth.c @@ -28,6 +28,7 @@ #include #include #include +#include static int enetaddr_set(struct device_d *dev, struct param_d *param, value_t val) {