From d593f4c0721695688042eb5295c52c06ded07942 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 3 Mar 2018 23:41:29 +0100 Subject: Avoid old type * include/device/bpf.h: Do not include (struct bpf_version): Use unsigned short type instead of u_short. --- include/device/bpf.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/device/bpf.h b/include/device/bpf.h index 7bb5e106..abc2d777 100644 --- a/include/device/bpf.h +++ b/include/device/bpf.h @@ -68,8 +68,6 @@ #ifndef _DEVICE_BPF_H_ #define _DEVICE_BPF_H_ -#include /* u_short */ - /* * Alignment macros. BPF_WORDALIGN rounds up to the next * even multiple of BPF_ALIGNMENT. @@ -89,8 +87,8 @@ * It has nothing to do with the source code version. */ struct bpf_version { - u_short bv_major; - u_short bv_minor; + unsigned short bv_major; + unsigned short bv_minor; }; /* Current version number. */ #define BPF_MAJOR_VERSION 1 -- cgit v1.2.3