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

@ -46,7 +46,7 @@ struct spa_dbus_connection {
#define SPA_VERSION_DBUS_CONNECTION 0
uint32_t version;
/**
* Get the DBusConnection from a wraper
* Get the DBusConnection from a wrapper
*
* \param conn the spa_dbus_connection wrapper
* \return a pointer of type DBusConnection

View file

@ -153,7 +153,7 @@ struct spa_loop_control_methods {
/** Enter a loop
* \param ctrl the control
*
* Start an interation of the loop. This function should be called
* Start an iteration of the loop. This function should be called
* before calling iterate and is typically used to capture the thread
* that this loop will run in.
*/
@ -169,7 +169,7 @@ struct spa_loop_control_methods {
/** Perform one iteration of the loop.
* \param ctrl the control
* \param timeout an optional timeout in milliseconds.
* 0 for no timeout, -1 for infinte timeout.
* 0 for no timeout, -1 for infinite timeout.
*
* This function will block
* up to \a timeout milliseconds and then dispatch the fds with activity.