From ef4c2088c5f1de5d8665061963acdd1d71500cd8 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Mon, 18 Dec 2006 20:37:26 +0000 Subject: r20245: merge 20244 from samba_3_0_24 get rid of more nested extern declarations warnings (This used to be commit e9df051f5201843e3428ddbed7a719553c2e799a) --- source3/printing/print_cups.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/printing/print_cups.c') 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 #include +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 */ -- cgit