]> granicus.if.org Git - libnl/commitdiff
idiag: deprecate idiagnl_msg_obj_ops variable in public API
authorThomas Haller <thaller@redhat.com>
Mon, 24 Nov 2014 16:14:47 +0000 (17:14 +0100)
committerThomas Haller <thaller@redhat.com>
Mon, 24 Nov 2014 17:30:21 +0000 (18:30 +0100)
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 <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
include/netlink/idiag/msg.h

index 4aae606f7d04aec0f9091ecb0d71553e811613f5..01e30db0ce77d02cb7fb8d7b4a1539de1e5d96c4 100644 (file)
@@ -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);