Przeglądaj źródła

9pfs: fix type in *_parse_opts declarations

To comply with the QEMU coding style.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Greg Kurz 7 lat temu
rodzic
commit
7bd41d3db6
3 zmienionych plików z 3 dodań i 3 usunięć
  1. 1 1
      hw/9pfs/9p-handle.c
  2. 1 1
      hw/9pfs/9p-local.c
  3. 1 1
      hw/9pfs/9p-proxy.c

+ 1 - 1
hw/9pfs/9p-handle.c

@@ -652,7 +652,7 @@ static void handle_cleanup(FsContext *ctx)
     g_free(data);
     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 *sec_model = qemu_opt_get(opts, "security_model");
     const char *path = qemu_opt_get(opts, "path");
     const char *path = qemu_opt_get(opts, "path");

+ 1 - 1
hw/9pfs/9p-local.c

@@ -1459,7 +1459,7 @@ static void local_cleanup(FsContext *ctx)
     g_free(data);
     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 *sec_model = qemu_opt_get(opts, "security_model");
     const char *path = qemu_opt_get(opts, "path");
     const char *path = qemu_opt_get(opts, "path");

+ 1 - 1
hw/9pfs/9p-proxy.c

@@ -1111,7 +1111,7 @@ static int connect_namedsocket(const char *path)
     return sockfd;
     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 *socket = qemu_opt_get(opts, "socket");
     const char *sock_fd = qemu_opt_get(opts, "sock_fd");
     const char *sock_fd = qemu_opt_get(opts, "sock_fd");