summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-18 09:48:30 +0200
committerVolker Lendecke <vlendec@samba.org>2010-10-20 16:51:04 +0000
commit7a194c6e5ea75db67502005e5d40d1ddf3708895 (patch)
tree6659111af0b97596a3507b71312c70b166c8710d
parent1d5cb5125c9ed911e9560a3cd99bc428306539c5 (diff)
downloadsamba-7a194c6e5ea75db67502005e5d40d1ddf3708895.tar.gz
samba-7a194c6e5ea75db67502005e5d40d1ddf3708895.tar.bz2
samba-7a194c6e5ea75db67502005e5d40d1ddf3708895.zip
s3: Make "unpack_pjob" static
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 20 16:51:04 UTC 2010 on sn-devel-104
-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;