summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-06-06 01:34:04 +0000
committerTim Potter <tpot@samba.org>2002-06-06 01:34:04 +0000
commite80e6637064a39635faba5311f774a90b1d5ab43 (patch)
treea365988133a972b7a2133c2fa1b6c76ab3becbab
parent9d3933a59219388c209d8be4ae6decfa337d229f (diff)
downloadsamba-e80e6637064a39635faba5311f774a90b1d5ab43.tar.gz
samba-e80e6637064a39635faba5311f774a90b1d5ab43.tar.xz
samba-e80e6637064a39635faba5311f774a90b1d5ab43.zip
Fix compile error - doh!
-rwxr-xr-xsource/include/rpc_spoolss.h4
-rw-r--r--source/rpc_server/srv_spoolss_nt.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/include/rpc_spoolss.h b/source/include/rpc_spoolss.h
index 5ed64c63d0b..1a0898245cf 100755
--- a/source/include/rpc_spoolss.h
+++ b/source/include/rpc_spoolss.h
@@ -196,6 +196,10 @@
/* Print notification constants */
+#define ONE_VALUE 1
+#define TWO_VALUE 2
+#define POINTER 3
+
#define PRINTER_NOTIFY_TYPE 0x00
#define JOB_NOTIFY_TYPE 0x01
diff --git a/source/rpc_server/srv_spoolss_nt.c b/source/rpc_server/srv_spoolss_nt.c
index f35f089535e..7b7c80f33a3 100644
--- a/source/rpc_server/srv_spoolss_nt.c
+++ b/source/rpc_server/srv_spoolss_nt.c
@@ -2470,10 +2470,6 @@ struct s_notify_info_data_table
whether the notification data is a pointer to a variable sized
buffer, a one value uint32 or a two value uint32. */
-#define ONE_VALUE 1
-#define TWO_VALUE 2
-#define POINTER 3
-
struct s_notify_info_data_table notify_info_data_table[] =
{
{ PRINTER_NOTIFY_TYPE, PRINTER_NOTIFY_SERVER_NAME, "PRINTER_NOTIFY_SERVER_NAME", POINTER, spoolss_notify_server_name },