context: pa_context_get_protocol_version: constify

This commit is contained in:
Lyndon Brown 2018-05-28 01:12:39 +01:00 committed by Arun Raghavan
parent c0a70e8db8
commit 326b749a78
2 changed files with 2 additions and 2 deletions

View file

@ -236,7 +236,7 @@ pa_operation* pa_context_set_name(pa_context *c, const char *name, pa_context_su
const char* pa_context_get_server(pa_context *c);
/** Return the protocol version of the library. */
uint32_t pa_context_get_protocol_version(pa_context *c);
uint32_t pa_context_get_protocol_version(const pa_context *c);
/** Return the protocol version of the connected server.
* Returns PA_INVALID_INDEX on error. */