summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/printing.h1
-rw-r--r--source3/printing/printing.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h
index 36726b342f..9f0fcde28a 100644
--- a/source3/include/printing.h
+++ b/source3/include/printing.h
@@ -115,7 +115,6 @@ void print_spool_terminate(struct connection_struct *conn,
/* The following definitions come from printing/printing.c */
-int unpack_pjob( uint8 *buf, int buflen, struct printjob *pjob );
uint32 sysjob_to_jobid(int unix_jobid);
bool print_notify_register_pid(int snum);
bool print_notify_deregister_pid(int snum);
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 1568acac07..1c2817dcc7 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -365,7 +365,7 @@ done:
unpack a pjob from a tdb buffer
***********************************************************************/
-int unpack_pjob( uint8 *buf, int buflen, struct printjob *pjob )
+static int unpack_pjob( uint8 *buf, int buflen, struct printjob *pjob )
{
int len = 0;
int used;