summaryrefslogtreecommitdiff
path: root/source4/rpc_server/samr/samdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server/samr/samdb.c')
-rw-r--r--source4/rpc_server/samr/samdb.c2
1 files changed, 1 insertions, 1 deletions
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);