mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
change return type of pa_cstrerror() to "const char*"
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@949 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
1b72d02634
commit
8f111b0add
2 changed files with 2 additions and 2 deletions
|
|
@ -170,7 +170,7 @@ static char *tlsstr;
|
|||
|
||||
#endif
|
||||
|
||||
char* pa_cstrerror(int errnum) {
|
||||
const char* pa_cstrerror(int errnum) {
|
||||
const char *origbuf;
|
||||
|
||||
#ifdef HAVE_STRERROR_R
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ const char* pa_strerror(int error);
|
|||
* string to UTF-8. The function is thread safe but the returned string is
|
||||
* only guaranteed to exist until the thread exits or pa_cstrerror() is
|
||||
* called again from the same thread. */
|
||||
char* pa_cstrerror(int errnum);
|
||||
const char* pa_cstrerror(int errnum);
|
||||
|
||||
PA_C_DECL_END
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue