提交 0b1ecf7b 编写于 作者: P Peter Krempa

util: hash: Make virHashCodeGen mockable

Export the function from the util module so that dynamic linking can
override it.
上级 8982f3ab
......@@ -1774,6 +1774,10 @@ virHashUpdateEntry;
virHashValueFree;
# util/virhashcode.h
virHashCodeGen;
# util/virhook.h
virHookCall;
virHookInitialize;
......
......@@ -30,6 +30,7 @@
# include "internal.h"
uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed);
uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed)
ATTRIBUTE_NOINLINE;
#endif /* __VIR_HASH_CODE_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册