Fix formatting on Wayland and Pipewire function signatures

Fixes the formatting on some function signatures that clang-format missed.
This commit is contained in:
Frank Praznik
2022-12-01 18:03:36 -05:00
committed by Sam Lantinga
parent ab1f4172e3
commit 378b1c286a
8 changed files with 40 additions and 70 deletions

View File

@@ -202,8 +202,7 @@ static int load_pipewire_syms()
return 0;
}
SDL_FORCE_INLINE SDL_bool
pipewire_version_at_least(int major, int minor, int patch)
SDL_FORCE_INLINE SDL_bool pipewire_version_at_least(int major, int minor, int patch)
{
return (pipewire_version_major >= major) &&
(pipewire_version_major > major || pipewire_version_minor >= minor) &&
@@ -373,8 +372,7 @@ static void io_list_clear()
}
}
static struct io_node *
io_list_get_by_id(Uint32 id)
static struct io_node *io_list_get_by_id(Uint32 id)
{
struct io_node *n, *temp;
spa_list_for_each_safe (n, temp, &hotplug_io_list, link) {
@@ -385,8 +383,7 @@ io_list_get_by_id(Uint32 id)
return NULL;
}
static struct io_node *
io_list_get_by_path(char *path)
static struct io_node *io_list_get_by_path(char *path)
{
struct io_node *n, *temp;
spa_list_for_each_safe (n, temp, &hotplug_io_list, link) {