summaryrefslogtreecommitdiff
path: root/package/libnl-tiny/src/include/netlink-local.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-13 17:05:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-13 17:05:34 +0000
commit0a0bb9bb4aa08c8144736b2432c2aada57be8735 (patch)
tree3b2a846fae2b2f8d5c1ef57f67112a6d1247f272 /package/libnl-tiny/src/include/netlink-local.h
parentcaadc06413c709ff297c951302d1c9be885c2129 (diff)
downloadmtk-20170518-0a0bb9bb4aa08c8144736b2432c2aada57be8735.zip
mtk-20170518-0a0bb9bb4aa08c8144736b2432c2aada57be8735.tar.gz
mtk-20170518-0a0bb9bb4aa08c8144736b2432c2aada57be8735.tar.bz2
libnl-tiny: remove some more functions to reduce binary size
SVN-Revision: 25527
Diffstat (limited to 'package/libnl-tiny/src/include/netlink-local.h')
-rw-r--r--package/libnl-tiny/src/include/netlink-local.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libnl-tiny/src/include/netlink-local.h b/package/libnl-tiny/src/include/netlink-local.h
index f952bbe..330100e 100644
--- a/package/libnl-tiny/src/include/netlink-local.h
+++ b/package/libnl-tiny/src/include/netlink-local.h
@@ -95,6 +95,7 @@ extern int __str2flags(const char *, struct trans_tbl *, size_t);
extern void dump_from_ops(struct nl_object *, struct nl_dump_params *);
+#ifdef disabled
static inline struct nl_cache *dp_cache(struct nl_object *obj)
{
if (obj->ce_cache == NULL)
@@ -102,6 +103,7 @@ static inline struct nl_cache *dp_cache(struct nl_object *obj)
return obj->ce_cache;
}
+#endif
static inline int nl_cb_call(struct nl_cb *cb, int type, struct nl_msg *msg)
{