[polypaudio-commits] r949 - in /trunk/src/polyp: error.c error.h
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Tue May 23 07:39:16 PDT 2006
Author: lennart
Date: Tue May 23 16:39:15 2006
New Revision: 949
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=949&root=polypaudio&view=rev
Log:
change return type of pa_cstrerror() to "const char*"
Modified:
trunk/src/polyp/error.c
trunk/src/polyp/error.h
Modified: trunk/src/polyp/error.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polyp/error.c?rev=949&root=polypaudio&r1=948&r2=949&view=diff
==============================================================================
--- trunk/src/polyp/error.c (original)
+++ trunk/src/polyp/error.c Tue May 23 16:39:15 2006
@@ -170,7 +170,7 @@
#endif
-char* pa_cstrerror(int errnum) {
+const char* pa_cstrerror(int errnum) {
const char *origbuf;
#ifdef HAVE_STRERROR_R
Modified: trunk/src/polyp/error.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polyp/error.h?rev=949&root=polypaudio&r1=948&r2=949&view=diff
==============================================================================
--- trunk/src/polyp/error.h (original)
+++ trunk/src/polyp/error.h Tue May 23 16:39:15 2006
@@ -37,7 +37,7 @@
* 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
More information about the pulseaudio-commits
mailing list