libcompat.h: strsignal() should be not be decleared const
authorAnthony G. Basile <blueness@gentoo.org>
Sun, 13 Mar 2016 15:05:29 +0000 (11:05 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 7 May 2016 10:54:54 +0000 (11:54 +0100)
commitc9da8b0e7f53005ab125e48165dae39fbfee2352
tree33f8c87c2b61a15e2a7bf633e4d9d0ae397affe7
parent246b28578369d54cf1e5368aad7c0c609d913c31
libcompat.h: strsignal() should be not be decleared const

POSIX standards requires strsignal() to return a pointer to a char,
not a const pointer to a char. [1]  On uClibc, and possibly other
libc's, that do not HAVE_DECL_STRSIGNAL, libcompat.h declares
const char *strsignal (int sig) which causes a type error.

[1] man 3 strsignal

https://bugzilla.gnome.org/show_bug.cgi?id=763567
libs/gst/check/libcheck/strsignal.c