Skip to content

Commit

Permalink
9pfs: fix type in *_parse_opts declarations
Browse files Browse the repository at this point in the history
To comply with the QEMU coding style.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
  • Loading branch information
gkurz committed Jan 8, 2018
1 parent c4ce2c0 commit 7bd41d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hw/9pfs/9p-handle.c
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion hw/9pfs/9p-local.c
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion hw/9pfs/9p-proxy.c
Expand Up @@ -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");
Expand Down

0 comments on commit 7bd41d3

Please sign in to comment.