From da5a02e97d78d38394a6b25b7e30cb1d6db0afd0 Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Tue, 10 Apr 2012 14:36:04 +0300 Subject: [PATCH] device-restore: Fix empty argument list declaration. --- src/modules/module-device-restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/module-device-restore.c b/src/modules/module-device-restore.c index 16acfd8..2a666ac 100644 --- a/src/modules/module-device-restore.c +++ b/src/modules/module-device-restore.c @@ -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 || -- 2.7.4