From 11c621b5ee1a0cdc27610f8b172017764acc285e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 5 Aug 2009 14:11:12 -0400 Subject: Simplify interfaces initialization Make as much as possible static, and remove use of talloc_reference and allocation/deallocation of memory when not necessary. Fix also responder use of rctx->conn, was mistakenly used for both monitor and dp connections. --- server/providers/dp_sbus.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'server/providers/dp_sbus.h') diff --git a/server/providers/dp_sbus.h b/server/providers/dp_sbus.h index f21001f93..f3f542239 100644 --- a/server/providers/dp_sbus.h +++ b/server/providers/dp_sbus.h @@ -24,7 +24,5 @@ int dp_get_sbus_address(TALLOC_CTX *mem_ctx, struct confdb_ctx *confdb, char **address); -int dp_init_sbus_methods(TALLOC_CTX *mem_ctx, struct sbus_method *methods, - struct sbus_method_ctx **sm_ctx); #endif /* DP_SBUS_H_ */ -- cgit