mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
device-restore: Fix empty argument list declaration.
This commit is contained in:
parent
fb293db68d
commit
da5a02e97d
1 changed files with 2 additions and 2 deletions
|
|
@ -182,7 +182,7 @@ static pa_bool_t perportentry_write(struct userdata *u, const char *basekeyname,
|
|||
static void perportentry_free(struct perportentry* e);
|
||||
#endif
|
||||
|
||||
static struct entry* entry_new() {
|
||||
static struct entry* entry_new(void) {
|
||||
struct entry *r = pa_xnew0(struct entry, 1);
|
||||
r->version = ENTRY_VERSION;
|
||||
return r;
|
||||
|
|
@ -239,7 +239,7 @@ static struct entry* entry_read(struct userdata *u, const char *name) {
|
|||
goto fail;
|
||||
|
||||
t = pa_tagstruct_new(data.data, data.size);
|
||||
e = entry_new(FALSE);
|
||||
e = entry_new();
|
||||
|
||||
if (pa_tagstruct_getu8(t, &e->version) < 0 ||
|
||||
e->version > ENTRY_VERSION ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue