]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Move strerror() prototype to string.h, where it belongs
authorMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 03:35:49 +0000 (03:35 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 03:35:49 +0000 (03:35 +0000)
src/include/errno.h
src/include/string.h

index 3273be7f23896b6c1b1ffb796a922495b98baa38..68966bd96bbcb1baa137c7a4cf3644ebb1612fbd 100644 (file)
 
 extern int errno;
 
-extern const char * strerror ( int errno );
-
 struct errortab {
        int errno;
        const char *text;
index a6f3e71b9de7aa4ed6c050c1c68bea2f20f9d760..0ac54a061e75efd7f9a6e225e58b78390664603d 100644 (file)
@@ -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 */