summaryrefslogtreecommitdiff
path: root/gs/contrib
diff options
context:
space:
mode:
authorHin-Tak Leung <hintak_leung@yahoo.co.uk>2010-05-25 17:15:59 +0000
committerHin-Tak Leung <hintak_leung@yahoo.co.uk>2010-05-25 17:15:59 +0000
commitebec613150d6513750fcfcddba9c1eb4302d4fe7 (patch)
treea9d98c56e2720dcc5b3633ae2fd69caf7c84eed6 /gs/contrib
parentdcfe61a021669d22a0959976346ffe732b2425c5 (diff)
make static some private functions to remove compiler warnings
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11324 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/contrib')
-rw-r--r--gs/contrib/gdevgdi.c10
-rw-r--r--gs/contrib/gdevlx50.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/gs/contrib/gdevgdi.c b/gs/contrib/gdevgdi.c
index 43359d2ed..20f8d2779 100644
--- a/gs/contrib/gdevgdi.c
+++ b/gs/contrib/gdevgdi.c
@@ -871,7 +871,7 @@ typedef long (*funcptr)( unsigned char *, unsigned short, unsigned short, unsign
funcptr UpdateScanLine[2] = { SaveScanData, UpdateScanSize };
-long Save6Bytes(unsigned char *out_buf, unsigned short usDy, unsigned short usRl, short sDx, unsigned short usWarp)
+static long Save6Bytes(unsigned char *out_buf, unsigned short usDy, unsigned short usRl, short sDx, unsigned short usWarp)
{
unsigned long ultmp_dat;
long lWarp, lDis;
@@ -901,7 +901,7 @@ long Save6Bytes(unsigned char *out_buf, unsigned short usDy, unsigned short usRl
return(6);
} /* Save6Bytes()*/
-long Save4Bytes(unsigned char *out_buf, unsigned short usDy, unsigned short usRl, short sDx)
+static long Save4Bytes(unsigned char *out_buf, unsigned short usDy, unsigned short usRl, short sDx)
{
unsigned short ustmp_dat;
@@ -925,7 +925,7 @@ long Save4Bytes(unsigned char *out_buf, unsigned short usDy, unsigned short usR
return(4);
} /* end of Save4Bytes()*/
-long Save2Bytes(unsigned char *out_buf, unsigned short usDy, unsigned short usRl, short sDx)
+static long Save2Bytes(unsigned char *out_buf, unsigned short usDy, unsigned short usRl, short sDx)
{
unsigned char ubtmp_dat;
@@ -1016,7 +1016,7 @@ long UpdateScanSize (unsigned char *out_buf,
return(lRet);
} /* end of UpdateScanSize() by bglee 19981224*/
-long GetSimpleScan(unsigned char *out_buf,
+static long GetSimpleScan(unsigned char *out_buf,
unsigned char ubSizeMode,
unsigned short *us1Count,
unsigned short *usDy,
@@ -1106,7 +1106,7 @@ long GetSimpleScan(unsigned char *out_buf,
} /* end of GetSimpleScan() */
-long scan_map (unsigned char *in_buf,
+static long scan_map (unsigned char *in_buf,
unsigned char *out_buf,
unsigned short usWidth,
unsigned short usHeight,
diff --git a/gs/contrib/gdevlx50.c b/gs/contrib/gdevlx50.c
index 6f77f562f..9d6b7da83 100644
--- a/gs/contrib/gdevlx50.c
+++ b/gs/contrib/gdevlx50.c
@@ -1060,7 +1060,7 @@ feedPaper( lx5000_device *lx5000dev, int newLine, int *currentLine,
by the variable numColours, which will be 1 if the driver is being used
in black-only mode.
*----------------------------------------------------------------------*/
-int
+static int
getColourBufs( lx5000_device *lx5000dev,
byte **lineBufferPtr, byte *colourBufPtrs[],
byte **swipeBufPtr, bool allocate )