mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
f394b2e20d
commit
0e55c381f6
3 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue