pulse: avoid errors with const

This commit is contained in:
Wim Taymans 2019-12-05 10:35:07 +01:00
parent 4314fba7c4
commit b0932e687f
2 changed files with 4 additions and 3 deletions

View file

@ -127,7 +127,7 @@ static inline const char *pa_strnull(const char *x) {
return x ? x : "(null)";
}
int pa_context_set_error(pa_context *c, int error);
int pa_context_set_error(PA_CONST pa_context *c, int error);
#define PA_CHECK_VALIDITY(context, expression, error) \
do { \