diff options
author | Eric Blake <eblake@redhat.com> | 2016-07-13 21:50:24 -0600 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-19 20:18:27 +0200 |
commit | 0e55c381f69f302d09ab1e18f3c1156cca56f4a6 (patch) | |
tree | 312035958332ab14b05b5d6434b59c2ad3d3fe33 /include/net | |
parent | f394b2e20d9a666fb194fb692179a0eeaca5daea (diff) | |
download | qemu-0e55c381f69f302d09ab1e18f3c1156cca56f4a6.zip qemu-0e55c381f69f302d09ab1e18f3c1156cca56f4a6.tar.gz qemu-0e55c381f69f302d09ab1e18f3c1156cca56f4a6.tar.bz2 |
net: Use correct type for bool flag
is_netdev is only used as a bool, so make it one.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1468468228-27827-14-git-send-email-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/net.h b/include/net/net.h index 48382c3..e8d9e9e 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -203,7 +203,7 @@ extern const char *host_net_devices[]; extern const char *legacy_tftp_prefix; extern const char *legacy_bootp_filename; -int net_client_init(QemuOpts *opts, int is_netdev, Error **errp); +int net_client_init(QemuOpts *opts, bool is_netdev, Error **errp); int net_client_parse(QemuOptsList *opts_list, const char *str); int net_init_clients(void); void net_check_clients(void); |