mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
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
This commit is contained in:
parent
246b285783
commit
c9da8b0e7f
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#include "libcompat.h"
|
#include "libcompat.h"
|
||||||
|
|
||||||
const char *
|
char *
|
||||||
strsignal (int sig)
|
strsignal (int sig)
|
||||||
{
|
{
|
||||||
static char signame[40];
|
static char signame[40];
|
||||||
|
|
Loading…
Reference in a new issue