mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +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
d7c8ce0947
commit
d6e25ddedd
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ CK_DLL_EXP char *strdup (const char *str);
|
||||||
#endif /* !HAVE_DECL_STRDUP && HAVE__STRDUP */
|
#endif /* !HAVE_DECL_STRDUP && HAVE__STRDUP */
|
||||||
|
|
||||||
#if !HAVE_DECL_STRSIGNAL
|
#if !HAVE_DECL_STRSIGNAL
|
||||||
CK_DLL_EXP const char *strsignal (int sig);
|
CK_DLL_EXP char *strsignal (int sig);
|
||||||
#endif /* !HAVE_DECL_STRSIGNAL */
|
#endif /* !HAVE_DECL_STRSIGNAL */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue