summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-06-25 19:49:27 +0000
committerGerald Carter <jerry@samba.org>2003-06-25 19:49:27 +0000
commitf414539d8674c398114f64a045c3d337c35f2fe3 (patch)
tree956bcf1a994ec077e2d847f77380f58190513324 /source3/printing
parent99a467662ae5f9e4c493b69a172a88a6f146c72c (diff)
downloadsamba-f414539d8674c398114f64a045c3d337c35f2fe3.tar.gz
samba-f414539d8674c398114f64a045c3d337c35f2fe3.tar.bz2
samba-f414539d8674c398114f64a045c3d337c35f2fe3.zip
ifdef out some functions that are not used when HAVE_ADS is not defined
(This used to be commit 2d192e0431c7b754cf9db2306acb01fbe4068a14)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index b8c6e757f3..814cf53d85 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -2443,6 +2443,7 @@ uint32 get_printer_subkeys( NT_PRINTER_DATA *data, const char* key, fstring **su
return num_subkeys;
}
+#ifdef HAVE_ADS
static void map_sz_into_ctr(REGVAL_CTR *ctr, const char *val_name,
const char *sz)
{
@@ -2555,7 +2556,6 @@ static BOOL map_nt_printer_info2_to_dsspooler(NT_PRINTER_INFO_LEVEL_2 *info2)
return True;
}
-#ifdef HAVE_ADS
static void store_printer_guid(NT_PRINTER_INFO_LEVEL_2 *info2, GUID guid)
{
int i;