Run codespell on the entire codebase

This tool detects and fixes common English spelling mistakes, with
generally very few mistakes.

Here is the command I used to generate this commit.  There were a few
changes that had to be done manually, and of course adding the ignore
file:
```shell
codespell -I .codespell-ignore -x .codespell-ignore -w
```

I didn’t add it to the CI, but this would be a good place for it.
This commit is contained in:
Emmanuel Gil Peyrot 2020-07-22 20:54:06 +02:00 committed by Wim Taymans
parent 688a1ab082
commit 14fdf07e8f
56 changed files with 152 additions and 141 deletions

View file

@ -101,7 +101,7 @@ int pw_protocol_native_connection_get_fd(struct pw_protocol_native_connection *c
*
* \param conn the connection
* \param fd the fd to add
* \return the index of the fd or SPA_IDX_INVALID when an error occured
* \return the index of the fd or SPA_IDX_INVALID when an error occurred
*
* \memberof pw_protocol_native_connection
*/
@ -360,8 +360,8 @@ static int prepare_packet(struct pw_protocol_native_connection *conn, struct buf
/** Move to the next packet in the connection
*
* \param conn the connection
* \param opcode addres of result opcode
* \param dest_id addres of result destination id
* \param opcode address of result opcode
* \param dest_id address of result destination id
* \param dt pointer to packet data
* \param sz size of packet data
* \return true on success