summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-12 17:38:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:26 -0500
commit791f48f167de339c8ae371e5c80706511fd10018 (patch)
treede938796cdcc79502b4c8257b9239e5f5070051f /source3/printing/printing.c
parent243b462b094f80d89020bdad78a531a857281bad (diff)
downloadsamba-791f48f167de339c8ae371e5c80706511fd10018.tar.gz
samba-791f48f167de339c8ae371e5c80706511fd10018.tar.bz2
samba-791f48f167de339c8ae371e5c80706511fd10018.zip
r20124: clean up nested extern declaration warnings
(This used to be commit ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb)
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r--source3/printing/printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 0d9ae02545..2f1d123a20 100644
--- a/source3/printing/printing.c
+++ b/source3/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;