aboutsummaryrefslogtreecommitdiffstats
path: root/package/libnl-tiny/src/cache_mngt.c
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
commit776afd6e84689032132b76e8e10fd59133d2e7f9 (patch)
tree0d402d61ee871d4f658f381567bf468abc1d3b84 /package/libnl-tiny/src/cache_mngt.c
parent323fed9d486283a3adaf887fbe94d103fd7297a7 (diff)
downloadmaster-187ad058-776afd6e84689032132b76e8e10fd59133d2e7f9.tar.gz
master-187ad058-776afd6e84689032132b76e8e10fd59133d2e7f9.tar.bz2
master-187ad058-776afd6e84689032132b76e8e10fd59133d2e7f9.zip
libnl-tiny: remove some more functions to reduce binary size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25527 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libnl-tiny/src/cache_mngt.c')
-rw-r--r--package/libnl-tiny/src/cache_mngt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libnl-tiny/src/cache_mngt.c b/package/libnl-tiny/src/cache_mngt.c
index d57d8364a8..5c32d2a1ff 100644
--- a/package/libnl-tiny/src/cache_mngt.c
+++ b/package/libnl-tiny/src/cache_mngt.c
@@ -73,6 +73,8 @@ struct nl_cache_ops *nl_cache_ops_associate(int protocol, int msgtype)
return NULL;
}
+#ifdef disabled
+
/**
* Lookup message type cache association
* @arg ops cache operations
@@ -118,6 +120,7 @@ void nl_cache_ops_foreach(void (*cb)(struct nl_cache_ops *, void *), void *arg)
for (ops = cache_ops; ops; ops = ops->co_next)
cb(ops, arg);
}
+#endif
/**
* Register a set of cache operations
@@ -178,7 +181,7 @@ int nl_cache_mngt_unregister(struct nl_cache_ops *ops)
* @name Global Cache Provisioning/Requiring
* @{
*/
-
+#ifdef disabled
/**
* Provide a cache for global use
* @arg cache cache to provide
@@ -244,6 +247,7 @@ struct nl_cache *nl_cache_mngt_require(const char *name)
return ops->co_major_cache;
}
+#endif
/** @} */
/** @} */