summaryrefslogtreecommitdiff
path: root/source3/printing/print_cups.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/print_cups.c')
-rw-r--r--source3/printing/print_cups.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 138f58d0c8..2c942627c6 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -25,6 +25,7 @@
#include <cups/cups.h>
#include <cups/language.h>
+extern userdom_struct current_user_info;
/*
* 'cups_passwd_cb()' - The CUPS password callback...
@@ -1006,7 +1007,6 @@ static int cups_queue_get(const char *sharename,
static int cups_queue_pause(int snum)
{
- extern userdom_struct current_user_info;
int ret = 1; /* Return value */
http_t *http = NULL; /* HTTP connection to server */
ipp_t *request = NULL, /* IPP Request */
@@ -1098,7 +1098,6 @@ static int cups_queue_pause(int snum)
static int cups_queue_resume(int snum)
{
- extern userdom_struct current_user_info;
int ret = 1; /* Return value */
http_t *http = NULL; /* HTTP connection to server */
ipp_t *request = NULL, /* IPP Request */