diff --git a/include/linux/if_tun.h b/include/linux/if_tun.h index 08e66827ad8e4f002232ac87280374012984a9c2..c5b0a75a78121935e3ab2874c03a1b9bc123f1cf 100644 --- a/include/linux/if_tun.h +++ b/include/linux/if_tun.h @@ -42,11 +42,11 @@ static inline bool tun_is_xdp_buff(void *ptr) { return false; } -void *tun_xdp_to_ptr(void *ptr) +static inline void *tun_xdp_to_ptr(void *ptr) { return NULL; } -void *tun_ptr_to_xdp(void *ptr) +static inline void *tun_ptr_to_xdp(void *ptr) { return NULL; }