From c567d64d66e1548ef5afc3ba784f8fa8972e3674 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 28 Sep 2004 14:38:13 +0000 Subject: r2734: the samdb_destructor can be static (This used to be commit feb63e74f923f2a50c6836e18a6c2bda39644e71) --- source4/rpc_server/samr/samdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/rpc_server/samr/samdb.c b/source4/rpc_server/samr/samdb.c index 4160ef78fc..1628919f4e 100644 --- a/source4/rpc_server/samr/samdb.c +++ b/source4/rpc_server/samr/samdb.c @@ -44,7 +44,7 @@ void samdb_debug(void *context, enum ldb_debug_level level, const char *fmt, va_ } /* destroy the last connection to the sam */ -int samdb_destructor(void *ctx) +static int samdb_destructor(void *ctx) { struct samdb_context *sam_ctx = ctx; ldb_close(sam_ctx->ldb); -- cgit