mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
context: pa_context_get_protocol_version: constify
This commit is contained in:
parent
c0a70e8db8
commit
326b749a78
2 changed files with 2 additions and 2 deletions
|
|
@ -1331,7 +1331,7 @@ const char* pa_context_get_server(pa_context *c) {
|
|||
return c->server;
|
||||
}
|
||||
|
||||
uint32_t pa_context_get_protocol_version(pa_context *c) {
|
||||
uint32_t pa_context_get_protocol_version(const pa_context *c) {
|
||||
return PA_PROTOCOL_VERSION;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue