From 5169a1e12e9c936f285c1dcf9754cb20af3f21ef Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 20 May 2015 23:36:56 +0100 Subject: [PATCH] strerror: should live in string.h according to the standards --- Library/include/stdio.h | 1 - Library/include/string.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/include/stdio.h b/Library/include/stdio.h index 91197dd7..226c17a8 100644 --- a/Library/include/stdio.h +++ b/Library/include/stdio.h @@ -146,7 +146,6 @@ extern int vfscanf __P((FILE*, const char*, va_list)); extern int vsscanf __P((char*, const char*, va_list)); extern void perror __P((const char *__s)); -extern char *strerror __P((int __errno)); extern char *tmpnam __P((char *buf)); diff --git a/Library/include/string.h b/Library/include/string.h index bf7d269c..84a458a1 100644 --- a/Library/include/string.h +++ b/Library/include/string.h @@ -60,6 +60,7 @@ extern size_t strxfrm __P((char *, const char *, size_t)); extern int strcoll __P((const char *s1, const char *s2)); extern const char *strsignal __P((int s)); +extern char *strerror __P((int __errno)); #ifdef z80 #pagma inline(memcpy) -- 2.34.1