diff options
author | Herb Lewis <herb@samba.org> | 2006-12-12 17:38:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:26 -0500 |
commit | ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb (patch) | |
tree | 691d88eccc763e06e18a3792f95e39341887b04f /source/printing/printing.c | |
parent | cc26e2f9a155529b8ac2122bd2bec401bb516264 (diff) | |
download | samba-ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb.tar.gz samba-ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb.tar.xz samba-ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb.zip |
r20124: clean up nested extern declaration warnings
Diffstat (limited to 'source/printing/printing.c')
-rw-r--r-- | source/printing/printing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c index 0d9ae02545a..2f1d123a200 100644 --- a/source/printing/printing.c +++ b/source/printing/printing.c @@ -25,6 +25,8 @@ extern SIG_ATOMIC_T got_sig_term; extern SIG_ATOMIC_T reload_after_sighup; +extern struct current_user current_user; +extern userdom_struct current_user_info; /* Current printer interface */ static BOOL remove_from_jobs_changed(const char* sharename, uint32 jobid); @@ -1438,8 +1440,6 @@ update the internal database from the system print queue for a queue static void print_queue_update(int snum, BOOL force) { - extern struct current_user current_user; - extern userdom_struct current_user_info; fstring key; fstring sharename; pstring lpqcommand, lprmcommand; |