mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
context: pa_context_get_server_protocol_version: constify
This commit is contained in:
parent
b4b37a0e66
commit
b88a219f32
2 changed files with 2 additions and 2 deletions
|
|
@ -1338,7 +1338,7 @@ uint32_t pa_context_get_protocol_version(const pa_context *c) {
|
|||
return PA_PROTOCOL_VERSION;
|
||||
}
|
||||
|
||||
uint32_t pa_context_get_server_protocol_version(pa_context *c) {
|
||||
uint32_t pa_context_get_server_protocol_version(const pa_context *c) {
|
||||
pa_assert(c);
|
||||
pa_assert(PA_REFCNT_VALUE(c) >= 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ 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. */
|
||||
uint32_t pa_context_get_server_protocol_version(pa_context *c);
|
||||
uint32_t pa_context_get_server_protocol_version(const pa_context *c);
|
||||
|
||||
/** Update the property list of the client, adding new entries. Please
|
||||
* note that it is highly recommended to set as many properties
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue