mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +03:00
Move strerror() prototype to string.h, where it belongs
This commit is contained in:
@@ -176,8 +176,6 @@
|
|||||||
|
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
|
||||||
extern const char * strerror ( int errno );
|
|
||||||
|
|
||||||
struct errortab {
|
struct errortab {
|
||||||
int errno;
|
int errno;
|
||||||
const char *text;
|
const char *text;
|
||||||
|
|||||||
@@ -68,4 +68,6 @@ char * strstr(const char * s1,const char * s2);
|
|||||||
void * memchr(const void *s, int c, size_t n);
|
void * memchr(const void *s, int c, size_t n);
|
||||||
char * strdup(const char *s);
|
char * strdup(const char *s);
|
||||||
|
|
||||||
|
extern const char * strerror ( int errno );
|
||||||
|
|
||||||
#endif /* ETHERBOOT_STRING */
|
#endif /* ETHERBOOT_STRING */
|
||||||
|
|||||||
Reference in New Issue
Block a user