diff options
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 2 | ||||
-rw-r--r-- | source3/printing/printfsp.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 7faeb60efa..97d01d43a5 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -22,6 +22,7 @@ #include "includes.h" +extern struct current_user current_user; extern DOM_SID global_sid_World; static TDB_CONTEXT *tdb_forms; /* used for forms files */ @@ -5115,7 +5116,6 @@ BOOL print_access_check(struct current_user *user, int snum, int access_type) BOOL result; const char *pname; TALLOC_CTX *mem_ctx = NULL; - extern struct current_user current_user; SE_PRIV se_printop = SE_PRINT_OPERATOR; /* If user is NULL then use the current_user structure */ diff --git a/source3/printing/printfsp.c b/source3/printing/printfsp.c index 7c5de46870..25f4d9bd46 100644 --- a/source3/printing/printfsp.c +++ b/source3/printing/printfsp.c @@ -21,6 +21,8 @@ #include "includes.h" +extern struct current_user current_user; + /*************************************************************************** open a print file and setup a fsp for it. This is a wrapper around print_job_start(). @@ -30,7 +32,6 @@ files_struct *print_fsp_open(connection_struct *conn, char *fname) { int jobid; SMB_STRUCT_STAT sbuf; - extern struct current_user current_user; files_struct *fsp = file_new(conn); fstring name; |