]> git.ipfire.org Git - thirdparty/json-c.git/commit
tests/strerror_override.c: fix compilation error
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Tue, 1 Nov 2016 15:49:28 +0000 (17:49 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 4 Nov 2016 07:51:44 +0000 (09:51 +0200)
commit2fbdee19dadc0856ef1e465ed9b772119ebb9883
treef320785d44ccd6bd099db5d0be9da16c2a355c39
parent0e911833009282b0c8d345904a581a0d627247f7
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 <ardeleanalex@gmail.com>
tests/strerror_override.c