Fix typo in code

This commit is contained in:
Andrea Gelmini 2021-04-28 20:51:15 +02:00 committed by Wim Taymans
parent 47ef2b6b09
commit f489e32e44
4 changed files with 5 additions and 5 deletions

View file

@ -1196,7 +1196,7 @@ error:
return NULL;
}
static const struct pw_protocol_implementaton protocol_impl = {
static const struct pw_protocol_implementation protocol_impl = {
PW_VERSION_PROTOCOL_IMPLEMENTATION,
.new_client = impl_new_client,
.add_server = impl_add_server,

View file

@ -174,7 +174,7 @@ struct pw_protocol {
struct spa_list server_list; /**< list of current servers */
struct spa_hook_list listener_list; /**< event listeners */
const struct pw_protocol_implementaton *implementation; /**< implementation of the protocol */
const struct pw_protocol_implementation *implementation; /**< implementation of the protocol */
const void *extension; /**< extension API */

View file

@ -85,7 +85,7 @@ void *pw_protocol_get_user_data(struct pw_protocol *protocol)
}
SPA_EXPORT
const struct pw_protocol_implementaton *
const struct pw_protocol_implementation *
pw_protocol_get_implementation(struct pw_protocol *protocol)
{
return protocol->implementation;

View file

@ -90,7 +90,7 @@ struct pw_protocol_marshal {
const void *client_demarshal;
};
struct pw_protocol_implementaton {
struct pw_protocol_implementation {
#define PW_VERSION_PROTOCOL_IMPLEMENTATION 0
uint32_t version;
@ -121,7 +121,7 @@ struct pw_context *pw_protocol_get_context(struct pw_protocol *protocol);
void *pw_protocol_get_user_data(struct pw_protocol *protocol);
const struct pw_protocol_implementaton *
const struct pw_protocol_implementation *
pw_protocol_get_implementation(struct pw_protocol *protocol);
const void *