From: Michael Brown Date: Wed, 20 Dec 2006 03:35:49 +0000 (+0000) Subject: Move strerror() prototype to string.h, where it belongs X-Git-Tag: v0.9.3~875 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5f0898f38549cfb13d5e32b8909bafa0d46ae4b;p=thirdparty%2Fipxe.git Move strerror() prototype to string.h, where it belongs --- 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 */