From: Thomas Haller Date: Mon, 24 Nov 2014 16:14:47 +0000 (+0100) Subject: idiag: deprecate idiagnl_msg_obj_ops variable in public API X-Git-Tag: libnl3_2_26rc1~27^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd8cd2dae27c2b56464b166753716b2e3725375a;p=thirdparty%2Flibnl.git idiag: deprecate idiagnl_msg_obj_ops variable in public API This internal structure should never have been exposed publically. It as introduced as public API in v3.2.23. For now, don't remove it as it would be an API/ABI break. Fixes: 81d2b1d509d91fe894e4aec0a6a76b0bf75514cd Acked-by: Thomas Graf Signed-off-by: Thomas Haller --- diff --git a/include/netlink/idiag/msg.h b/include/netlink/idiag/msg.h index 4aae606..01e30db 100644 --- a/include/netlink/idiag/msg.h +++ b/include/netlink/idiag/msg.h @@ -19,6 +19,8 @@ extern "C" { #endif /* __cplusplus */ struct idiagnl_msg; + +/* @deprecated: DO NOT USE this variable. */ extern struct nl_object_ops idiagnl_msg_obj_ops; extern struct idiagnl_msg * idiagnl_msg_alloc(void);