aboutsummaryrefslogtreecommitdiff
path: root/net/tap-win32.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-01-30 19:12:20 +0800
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-01 10:50:59 -0600
commitec45f08313ce92039d52ea0338db4a0c862fef6a (patch)
tree074165ae03ea5555b52f3fed6f112a580b17c00b /net/tap-win32.c
parent350ed2fcd95d30b02609e8783f33735f356ad7ce (diff)
downloadqemu-ec45f08313ce92039d52ea0338db4a0c862fef6a.zip
qemu-ec45f08313ce92039d52ea0338db4a0c862fef6a.tar.gz
qemu-ec45f08313ce92039d52ea0338db4a0c862fef6a.tar.bz2
net: tap: using bool instead of bitfield
Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net/tap-win32.c')
-rw-r--r--net/tap-win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tap-win32.c b/net/tap-win32.c
index 265369c..3052bba 100644
--- a/net/tap-win32.c
+++ b/net/tap-win32.c
@@ -722,9 +722,9 @@ int net_init_tap(const NetClientOptions *opts, const char *name,
return 0;
}
-int tap_has_ufo(NetClientState *nc)
+bool tap_has_ufo(NetClientState *nc)
{
- return 0;
+ return false;
}
int tap_has_vnet_hdr(NetClientState *nc)
@@ -741,7 +741,7 @@ void tap_fd_set_vnet_hdr_len(int fd, int len)
{
}
-void tap_using_vnet_hdr(NetClientState *nc, int using_vnet_hdr)
+void tap_using_vnet_hdr(NetClientState *nc, bool using_vnet_hdr)
{
}