From 2fbdee19dadc0856ef1e465ed9b772119ebb9883 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Tue, 1 Nov 2016 17:49:28 +0200 Subject: [PATCH] tests/strerror_override.c: fix compilation error I got this on Mac OS X at least. Not sure if it shows up in other envs error: ``` strerror_override.c:53:13: error: incompatible redeclaration of library function 'strerror' [-Werror,-Wincompatible-library-redeclaration] const char *strerror(int errno_in) ``` Signed-off-by: Alexandru Ardelean --- tests/strerror_override.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/strerror_override.c b/tests/strerror_override.c index a5c2292565..d197e7f5e7 100644 --- a/tests/strerror_override.c +++ b/tests/strerror_override.c @@ -50,7 +50,7 @@ static struct { #define PREFIX "ERRNO=" static char errno_buf[128] = PREFIX; -const char *strerror(int errno_in) +char *strerror(int errno_in) { int start_idx; char digbuf[20];