From 350117ec51234526af6d24ef1602c0ff91e89d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 1 Nov 2002 02:58:34 +0000 Subject: [PATCH] Removed the "const" in the return value of strerror() to be POSIX compliant. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1810 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/posix/string.h b/headers/posix/string.h index 85ceb6d5b1..7b474dfd62 100644 --- a/headers/posix/string.h +++ b/headers/posix/string.h @@ -41,7 +41,7 @@ extern size_t strcspn(const char *string, const char *set); extern int strcoll(const char *string1, const char *string2); extern size_t strxfrm(char *string1, const char *string2, size_t length); -extern const char *strerror(int error); +extern char *strerror(int errorCode); // ToDo: remove bzero(), bcopy() from here - we don't need those // implementations anyway, since BeOS defines them as macros