aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/errno.h2
-rw-r--r--src/include/string.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/errno.h b/src/include/errno.h
index 3273be7f2..68966bd96 100644
--- a/src/include/errno.h
+++ b/src/include/errno.h
@@ -176,8 +176,6 @@
extern int errno;
-extern const char * strerror ( int errno );
-
struct errortab {
int errno;
const char *text;
diff --git a/src/include/string.h b/src/include/string.h
index a6f3e71b9..0ac54a061 100644
--- a/src/include/string.h
+++ b/src/include/string.h
@@ -68,4 +68,6 @@ char * strstr(const char * s1,const char * s2);
void * memchr(const void *s, int c, size_t n);
char * strdup(const char *s);
+extern const char * strerror ( int errno );
+
#endif /* ETHERBOOT_STRING */