diff options
author | Herb Lewis <herb@samba.org> | 2006-12-18 20:37:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:36 -0500 |
commit | ef4c2088c5f1de5d8665061963acdd1d71500cd8 (patch) | |
tree | 10f9d33ecb6d8bc643f0eae9ba4126057f5626e7 /source3/printing | |
parent | 91626a4497e6bf99e436db344e19e2e2e4dd967e (diff) | |
download | samba-ef4c2088c5f1de5d8665061963acdd1d71500cd8.tar.gz samba-ef4c2088c5f1de5d8665061963acdd1d71500cd8.tar.xz samba-ef4c2088c5f1de5d8665061963acdd1d71500cd8.zip |
r20245: merge 20244 from samba_3_0_24
get rid of more nested extern declarations warnings
(This used to be commit e9df051f5201843e3428ddbed7a719553c2e799a)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/print_cups.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index 138f58d0c8c..2c942627c6b 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 */ |