mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
treewide: replace strcmp() == 0 with spa_streq()
This change is only done in source files for now, header files will be done separately.
This commit is contained in:
parent
d8a9534a9a
commit
7697ed0757
130 changed files with 817 additions and 675 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include <errno.h>
|
||||
#include <poll.h>
|
||||
|
||||
#include <spa/utils/string.h>
|
||||
#include <spa/support/log-impl.h>
|
||||
#include <spa/support/loop.h>
|
||||
#include <spa/support/plugin.h>
|
||||
|
|
@ -201,7 +202,7 @@ int main(int argc, char *argv[])
|
|||
break;
|
||||
}
|
||||
|
||||
if (strcmp(info->type, SPA_TYPE_INTERFACE_Device) == 0) {
|
||||
if (spa_streq(info->type, SPA_TYPE_INTERFACE_Device)) {
|
||||
struct spa_handle *handle;
|
||||
void *interface;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue