diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-11-16 09:00:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:52 -0500 |
commit | 8a18778286a16423d7d6e483fdb308a91e294efe (patch) | |
tree | b1cf6a44c1cb4deccb04897ab426a724204b3f52 /source4/rpc_server/spoolss | |
parent | e81157c7379116d83b9906e27c9fd418c779d129 (diff) | |
download | samba-8a18778286a16423d7d6e483fdb308a91e294efe.tar.gz samba-8a18778286a16423d7d6e483fdb308a91e294efe.tar.bz2 samba-8a18778286a16423d7d6e483fdb308a91e294efe.zip |
r3783: - don't use make proto for ldb anymore
- split ldh.h out of samba's includes.h
- make ldb_context and ldb_module private to the subsystem
- use ltdb_ prefix for all ldb_tdb functions
metze
(This used to be commit f5ee40d6ce8224e280070975efc9911558fe675c)
Diffstat (limited to 'source4/rpc_server/spoolss')
-rw-r--r-- | source4/rpc_server/spoolss/spoolssdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/rpc_server/spoolss/spoolssdb.c b/source4/rpc_server/spoolss/spoolssdb.c index a19ad14981..cec9ade0d4 100644 --- a/source4/rpc_server/spoolss/spoolssdb.c +++ b/source4/rpc_server/spoolss/spoolssdb.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "lib/ldb/include/ldb.h" struct spoolssdb_context { struct ldb_context *ldb; @@ -30,7 +31,8 @@ struct spoolssdb_context { /* this is used to catch debug messages from ldb */ -void spoolssdb_debug(void *context, enum ldb_debug_level level, const char *fmt, va_list ap) _PRINTF_ATTRIBUTE(3, 0) +static void spoolssdb_debug(void *context, enum ldb_debug_level level, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(3, 0); +static void spoolssdb_debug(void *context, enum ldb_debug_level level, const char *fmt, va_list ap) { char *s = NULL; if (DEBUGLEVEL < 4 && level > LDB_DEBUG_WARNING) { |