summaryrefslogtreecommitdiff
path: root/source4/rpc_server/samr
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-28 14:38:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:27 -0500
commitc567d64d66e1548ef5afc3ba784f8fa8972e3674 (patch)
tree01ba35d04096ce87e1a9b4a8aaadf2a7c965bda5 /source4/rpc_server/samr
parenta93e366379eff56e886b0a7ee1f5db380a0db1b8 (diff)
downloadsamba-c567d64d66e1548ef5afc3ba784f8fa8972e3674.tar.gz
samba-c567d64d66e1548ef5afc3ba784f8fa8972e3674.tar.bz2
samba-c567d64d66e1548ef5afc3ba784f8fa8972e3674.zip
r2734: the samdb_destructor can be static
(This used to be commit feb63e74f923f2a50c6836e18a6c2bda39644e71)
Diffstat (limited to 'source4/rpc_server/samr')
-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);