]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
9pfs: fix type in *_parse_opts declarations
authorGreg Kurz <groug@kaod.org>
Mon, 8 Jan 2018 10:18:22 +0000 (11:18 +0100)
committerGreg Kurz <groug@kaod.org>
Mon, 8 Jan 2018 10:18:22 +0000 (11:18 +0100)
To comply with the QEMU coding style.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
hw/9pfs/9p-handle.c
hw/9pfs/9p-local.c
hw/9pfs/9p-proxy.c

index 65b12de230c145587b2663be5a3a720a14bf23e2..26ac90fc5ce344192cbb71602ae6340cbdfce4b4 100644 (file)
@@ -652,7 +652,7 @@ static void handle_cleanup(FsContext *ctx)
     g_free(data);
 }
 
-static int handle_parse_opts(QemuOpts *opts, struct FsDriverEntry *fse)
+static int handle_parse_opts(QemuOpts *opts, FsDriverEntry *fse)
 {
     const char *sec_model = qemu_opt_get(opts, "security_model");
     const char *path = qemu_opt_get(opts, "path");
index e51af87309c622f565328fc5004eb4f96a4bf2ed..155834db28e1cf9e174e02d017f9f2434bd74376 100644 (file)
@@ -1459,7 +1459,7 @@ static void local_cleanup(FsContext *ctx)
     g_free(data);
 }
 
-static int local_parse_opts(QemuOpts *opts, struct FsDriverEntry *fse)
+static int local_parse_opts(QemuOpts *opts, FsDriverEntry *fse)
 {
     const char *sec_model = qemu_opt_get(opts, "security_model");
     const char *path = qemu_opt_get(opts, "path");
index 28b20a7c3dfae99f134bd03e2b8f98b149b701e6..652940726e7226d6483e88c609e4601ce50d8b81 100644 (file)
@@ -1111,7 +1111,7 @@ static int connect_namedsocket(const char *path)
     return sockfd;
 }
 
-static int proxy_parse_opts(QemuOpts *opts, struct FsDriverEntry *fs)
+static int proxy_parse_opts(QemuOpts *opts, FsDriverEntry *fs)
 {
     const char *socket = qemu_opt_get(opts, "socket");
     const char *sock_fd = qemu_opt_get(opts, "sock_fd");