summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-08-10 12:48:30 +0200
committerAndreas Schneider <asn@samba.org>2011-08-10 18:14:06 +0200
commit9eafbebf9c96f1f4c9a48239e025a1729cf697d8 (patch)
treebfd3d4d03b0e8a79f9a6c390f8d92617d9968978
parentc3cfa6be4769be15de4278a72b1c73c763edb21f (diff)
downloadsamba-9eafbebf9c96f1f4c9a48239e025a1729cf697d8.tar.gz
samba-9eafbebf9c96f1f4c9a48239e025a1729cf697d8.tar.xz
samba-9eafbebf9c96f1f4c9a48239e025a1729cf697d8.zip
s3-spoolss: Fix prototypes warnings.
Signed-off-by: Andreas Schneider <asn@samba.org>
-rw-r--r--source3/printing/spoolssd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c
index 3d7494921c4..38671ca6623 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -54,6 +54,9 @@ static int spoolss_spawn_rate;
static int spoolss_prefork_status;
static int spoolss_child_id = 0;
+pid_t start_spoolssd(struct tevent_context *ev_ctx,
+ struct messaging_context *msg_ctx);
+
static void spoolss_prefork_config(void)
{
static int spoolss_prefork_config_init = false;
@@ -714,7 +717,7 @@ static void print_queue_forward(struct messaging_context *msg,
MSG_PRINTER_UPDATE, data->data, data->length);
}
-char *get_bq_logfile(void)
+static char *get_bq_logfile(void)
{
char *lfile = lp_logfile();
int rc;