net: change vnet-hdr TAP prototypes
commite96dfd110ee1ad70e7ddbfae01ca95c66f70dac0
authorVincenzo Maffione <v.maffione@gmail.com>
Thu, 6 Feb 2014 16:02:15 +0000 (6 17:02 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 25 Feb 2014 10:50:16 +0000 (25 11:50 +0100)
treee8c527cd8ff4796cad3d2b7f1c1a3836801234ed
parent6e50d18847a76704c8a49e406084a2321117b954
net: change vnet-hdr TAP prototypes

The tap_has_vnet_hdr() and tap_has_vnet_hdr_len() functions used
to return int, even though they only return true/false values.
This patch changes the prototypes to return bool.

Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
include/net/tap.h
net/tap-win32.c
net/tap.c