mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Fix printf attribute compilation errors
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
This commit is contained in:
parent
7ead270265
commit
4175191d19
1 changed files with 4 additions and 1 deletions
|
|
@ -2174,7 +2174,10 @@ struct var_ctx {
|
|||
|
||||
static int
|
||||
var_printf(struct var_ctx *v, const char *fmt, ...)
|
||||
__attribute__((format(printf, 2, 3)));
|
||||
SPA_PRINTF_FUNC(2, 3);
|
||||
static int
|
||||
var_vprintf(struct var_ctx *v, const char *fmt, va_list ap)
|
||||
SPA_PRINTF_FUNC(2, 0);
|
||||
|
||||
void
|
||||
var_init(struct var_ctx *v, char *buf, size_t bufsz, enum var_format fmt, unsigned int flags, int level, int ind)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue