]> code.delx.au - pulseaudio/commitdiff
device-restore: Fix empty argument list declaration.
authorTanu Kaskinen <tanu.kaskinen@digia.com>
Tue, 10 Apr 2012 11:36:04 +0000 (14:36 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 19 Dec 2012 10:31:50 +0000 (12:31 +0200)
src/modules/module-device-restore.c

index 16acfd8d27fc266615cc9e09ad01a0037a04d94a..2a666ac4e2e0ba9a61ee496574ddf56127cb1cf2 100644 (file)
@@ -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 ||