git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r21064: The core of this patch is
[samba.git]
/
source3
/
lib
/
tallocmsg.c
diff --git
a/source3/lib/tallocmsg.c
b/source3/lib/tallocmsg.c
index e4e9bac94d672727b3dc960daef41159260a6f49..0f493538f3c104a21f27c7cc58fed2270ff3cd91 100644
(file)
--- a/
source3/lib/tallocmsg.c
+++ b/
source3/lib/tallocmsg.c
@@
-66,7
+66,8
@@
static void msg_pool_usage_helper(const void *ptr, int depth, int max_depth, int
* usage stats.
**/
void msg_pool_usage(int msg_type, struct process_id src_pid,
* usage stats.
**/
void msg_pool_usage(int msg_type, struct process_id src_pid,
- void *UNUSED(buf), size_t UNUSED(len))
+ void *UNUSED(buf), size_t UNUSED(len),
+ void *private_data)
{
struct msg_pool_usage_state state;
{
struct msg_pool_usage_state state;
@@
-100,6
+101,6
@@
void msg_pool_usage(int msg_type, struct process_id src_pid,
**/
void register_msg_pool_usage(void)
{
**/
void register_msg_pool_usage(void)
{
- message_register(MSG_REQ_POOL_USAGE, msg_pool_usage);
+ message_register(MSG_REQ_POOL_USAGE, msg_pool_usage
, NULL
);
DEBUG(2, ("Registered MSG_REQ_POOL_USAGE\n"));
}
DEBUG(2, ("Registered MSG_REQ_POOL_USAGE\n"));
}