summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-12 10:53:15 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-16 15:35:31 +0100
commit97d74a4407940da43e776e50d7695da5206bf15b (patch)
tree0628ad230d55403523630b3451c1878a83a066e5 /source4/torture
parentc1bf3244df7ca5261e9b649588f5587dab3f486d (diff)
downloadsamba-97d74a4407940da43e776e50d7695da5206bf15b.tar.gz
samba-97d74a4407940da43e776e50d7695da5206bf15b.tar.bz2
samba-97d74a4407940da43e776e50d7695da5206bf15b.zip
s4:torture/rpc/spoolss_notify.c: fix compiler warnings
metze
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/spoolss_notify.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c
index 2496244b1a..d20604eb44 100644
--- a/source4/torture/rpc/spoolss_notify.c
+++ b/source4/torture/rpc/spoolss_notify.c
@@ -33,7 +33,9 @@
#include "ntvfs/ntvfs.h"
#include "param/param.h"
-static NTSTATUS spoolss__op_bind(struct dcesrv_call_state *dce_call, const struct dcesrv_interface *iface)
+static NTSTATUS spoolss__op_bind(struct dcesrv_call_state *dce_call,
+ const struct dcesrv_interface *iface,
+ uint32_t if_version)
{
return NT_STATUS_OK;
}
@@ -509,7 +511,9 @@ static bool test_RFFPCNEx(struct torture_context *tctx,
const char *address;
struct received_packet *tmp;
struct spoolss_NotifyOption *server_option = setup_printserver_NotifyOption(tctx);
+#if 0
struct spoolss_NotifyOption *printer_option = setup_printer_NotifyOption(tctx);
+#endif
received_packets = NULL;