summaryrefslogtreecommitdiff
path: root/source4/rpc_server/spoolss/spoolssdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server/spoolss/spoolssdb.c')
-rw-r--r--source4/rpc_server/spoolss/spoolssdb.c4
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) {