From e5f0898f38549cfb13d5e32b8909bafa0d46ae4b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 20 Dec 2006 03:35:49 +0000 Subject: [PATCH] Move strerror() prototype to string.h, where it belongs --- src/include/errno.h | 2 -- src/include/string.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/errno.h b/src/include/errno.h index 3273be7f..68966bd9 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 a6f3e71b..0ac54a06 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 */