summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-07-28 14:23:18 (GMT)
committerThomas Haller <thaller@redhat.com>2023-07-28 14:23:18 (GMT)
commit6782678e86bd95069feb833164ba3686de15e380 (patch)
treed4ff7b6a6812b7e2e8905408bf89b784fa10fd0f
parenta0535a58d0dd0acd83ccf7defbdc5cd630b6a742 (diff)
downloadlibnl-6782678e86bd95069feb833164ba3686de15e380.zip
libnl-6782678e86bd95069feb833164ba3686de15e380.tar.gz
libnl-6782678e86bd95069feb833164ba3686de15e380.tar.bz2
include/private: drop unused __deprecated macro
Also, there is _nl_deprecated instead.
-rw-r--r--include/netlink-private/netlink.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/netlink-private/netlink.h b/include/netlink-private/netlink.h
index 3d0c216..0cb5500 100644
--- a/include/netlink-private/netlink.h
+++ b/include/netlink-private/netlink.h
@@ -150,8 +150,6 @@ static inline int nl_cb_call(struct nl_cb *cb, enum nl_cb_type type, struct nl_m
#define __init __attribute__ ((constructor))
#define __exit __attribute__ ((destructor))
-#undef __deprecated
-#define __deprecated __attribute__ ((deprecated))
extern int nl_cache_parse(struct nl_cache_ops *, struct sockaddr_nl *,
struct nlmsghdr *, struct nl_parser_param *);