net headers: cleanup dcbnl.h
1) add an include for <linux/types.h> 2) change dcbmsg.dcb_family from unsigned char to __u8 to be more consistent with use of kernel types Signed-off-by: Chris Leech <christopher.leech@intel.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4ead443163
commit
5c25222180
@ -20,10 +20,12 @@
|
|||||||
#ifndef __LINUX_DCBNL_H__
|
#ifndef __LINUX_DCBNL_H__
|
||||||
#define __LINUX_DCBNL_H__
|
#define __LINUX_DCBNL_H__
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
#define DCB_PROTO_VERSION 1
|
#define DCB_PROTO_VERSION 1
|
||||||
|
|
||||||
struct dcbmsg {
|
struct dcbmsg {
|
||||||
unsigned char dcb_family;
|
__u8 dcb_family;
|
||||||
__u8 cmd;
|
__u8 cmd;
|
||||||
__u16 dcb_pad;
|
__u16 dcb_pad;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user