From 84292022bf801112d2cb7f0f8512cf00079def20 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 7 Jan 2009 18:44:52 +0100 Subject: Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fn --- source3/include/ntdomain.h | 1 - source3/include/proto.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index bffa158fea..3f501550da 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -123,7 +123,6 @@ struct policy { POLICY_HND pol_hnd; void *data_ptr; - void (*free_fn)(void *); }; struct handle_list { diff --git a/source3/include/proto.h b/source3/include/proto.h index afc207b6f6..96b2e26d30 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6188,7 +6188,7 @@ NTSTATUS _eventlog_read_eventlog( pipes_struct * p, /* The following definitions come from rpc_server/srv_lsa_hnd.c */ bool init_pipe_handle_list(pipes_struct *p, const char *pipe_name); -bool create_policy_hnd(pipes_struct *p, POLICY_HND *hnd, void (*free_fn)(void *), void *data_ptr); +bool create_policy_hnd(pipes_struct *p, POLICY_HND *hnd, void *data_ptr); bool find_policy_by_hnd(pipes_struct *p, POLICY_HND *hnd, void **data_p); bool close_policy_hnd(pipes_struct *p, POLICY_HND *hnd); void close_policy_by_pipe(pipes_struct *p); -- cgit