projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uhttpd: Fix wrong certificate options with multiple words
[openwrt.git]
/
package
/
libnl-tiny
/
src
/
cache_mngt.c
diff --git
a/package/libnl-tiny/src/cache_mngt.c
b/package/libnl-tiny/src/cache_mngt.c
index d57d8364a8a79d42c612c525efc5f61e4c8090a9..5c32d2a1ffb9578c256fd3a69bc044a47d57fc19 100644
(file)
--- 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;
}
return NULL;
}
+#ifdef disabled
+
/**
* Lookup message type cache association
* @arg ops cache operations
/**
* 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);
}
for (ops = cache_ops; ops; ops = ops->co_next)
cb(ops, arg);
}
+#endif
/**
* Register a set of cache operations
/**
* 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
* @{
*/
* @name Global Cache Provisioning/Requiring
* @{
*/
-
+#ifdef disabled
/**
* Provide a cache for global use
* @arg cache cache to provide
/**
* 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;
}
return ops->co_major_cache;
}
+#endif
/** @} */
/** @} */
/** @} */
/** @} */