pipewire: remove cleanup.h

Since `spa/utils/cleanup.h` is not a private header anymore, there is
no need for a separate `pipewire/cleanup.h` since the definitions of
the cleanup routines can now be moved into the respective headers.
This commit is contained in:
Barnabás Pőcze 2024-05-12 17:17:08 +02:00
parent 80df1957bf
commit b3bd026699
25 changed files with 23 additions and 43 deletions

View file

@ -20,12 +20,12 @@
#include <sys/mount.h>
#endif
#include <spa/utils/cleanup.h>
#include <spa/utils/result.h>
#include <spa/utils/string.h>
#include <spa/utils/json.h>
#include <pipewire/impl.h>
#include <pipewire/cleanup.h>
#include "flatpak-utils.h"

View file

@ -29,6 +29,7 @@
#include <spa/pod/iter.h>
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/utils/cleanup.h>
#include <spa/utils/result.h>
#include <spa/utils/string.h>
#include <spa/utils/json.h>
@ -44,7 +45,6 @@
#include <pipewire/impl.h>
#include <pipewire/extensions/protocol-native.h>
#include <pipewire/cleanup.h>
#include "pipewire/private.h"

View file

@ -2,9 +2,9 @@
/* SPDX-FileCopyrightText: Copyright © 2022 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#include <spa/utils/cleanup.h>
#include <spa/utils/json.h>
#include <pipewire/cleanup.h>
#include <pipewire/utils.h>
#include "module.h"

View file

@ -7,11 +7,11 @@
#include <string.h>
#include <ctype.h>
#include <spa/utils/cleanup.h>
#include <spa/utils/defs.h>
#include <spa/utils/list.h>
#include <spa/utils/hook.h>
#include <spa/utils/string.h>
#include <pipewire/cleanup.h>
#include <pipewire/log.h>
#include <pipewire/map.h>
#include <pipewire/properties.h>

View file

@ -16,6 +16,7 @@
#include "log.h"
#include <spa/support/cpu.h>
#include <spa/utils/cleanup.h>
#include <spa/utils/result.h>
#include <spa/utils/string.h>
#include <spa/debug/dict.h>
@ -28,7 +29,6 @@
#include <spa/utils/ringbuffer.h>
#include <spa/utils/json.h>
#include <pipewire/cleanup.h>
#include <pipewire/pipewire.h>
#include <pipewire/extensions/metadata.h>

View file

@ -25,10 +25,10 @@
#include <systemd/sd-daemon.h>
#endif
#include <spa/utils/cleanup.h>
#include <spa/utils/defs.h>
#include <spa/utils/json.h>
#include <spa/utils/result.h>
#include <pipewire/cleanup.h>
#include <pipewire/pipewire.h>
#include "client.h"

View file

@ -30,6 +30,7 @@
#include "config.h"
#include <spa/utils/cleanup.h>
#include <spa/utils/result.h>
#include <spa/utils/string.h>
#include <spa/utils/json.h>
@ -40,7 +41,6 @@
#include <spa/param/audio/raw.h>
#include <spa/param/latency-utils.h>
#include <pipewire/cleanup.h>
#include <pipewire/impl.h>
#include <pipewire/i18n.h>

View file

@ -19,7 +19,6 @@
#include <roc/log.h>
#include <roc/sender.h>
#include <pipewire/cleanup.h>
#include <pipewire/pipewire.h>
#include <pipewire/impl.h>

View file

@ -19,7 +19,6 @@
#include <roc/log.h>
#include <roc/receiver.h>
#include <pipewire/cleanup.h>
#include <pipewire/pipewire.h>
#include <pipewire/impl.h>

View file

@ -8,7 +8,6 @@
#include <getopt.h>
#include <limits.h>
#include <pipewire/cleanup.h>
#include <pipewire/impl.h>
#include "spa-device.h"

View file

@ -12,7 +12,6 @@
#include "config.h"
#include "pipewire/impl.h"
#include "pipewire/cleanup.h"
#include "spa-node.h"

View file

@ -10,7 +10,6 @@
#include <getopt.h>
#include <limits.h>
#include <pipewire/cleanup.h>
#include <pipewire/impl.h>
#include "spa-node.h"