pulse-server: compile extensions separately

Avoid including other C source files. Compile them separately.
This commit is contained in:
Barnabás Pőcze 2021-10-18 15:00:33 +02:00
parent b78371f702
commit 80ae688cc6
6 changed files with 30 additions and 10 deletions

View file

@ -46,6 +46,7 @@
#include "../message.h"
#include "../reply.h"
#include "../volume.h"
#include "registry.h"
PW_LOG_TOPIC_EXTERN(pulse_ext_stream_restore);
#undef PW_LOG_TOPIC_DEFAULT
@ -304,7 +305,7 @@ static const struct extension_sub ext_stream_restore[] = {
{ "EVENT", 5, },
};
static int do_extension_stream_restore(struct client *client, uint32_t tag, struct message *m)
int do_extension_stream_restore(struct client *client, uint32_t tag, struct message *m)
{
uint32_t command;
int res;