summaryrefslogtreecommitdiff
path: root/src/image/epackbits.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/image/epackbits.c')
-rw-r--r--src/image/epackbits.c29
1 files changed, 12 insertions, 17 deletions
diff --git a/src/image/epackbits.c b/src/image/epackbits.c
index 1ceed56..7e15c2b 100644
--- a/src/image/epackbits.c
+++ b/src/image/epackbits.c
@@ -44,12 +44,10 @@
static int
-EncodePackBits (inbuf, numPixels, outbuf, bytesLeft)
-
-char *inbuf;
-int numPixels;
-char **outbuf;
-int *bytesLeft;
+EncodePackBits (char *inbuf,
+ int numPixels,
+ char **outbuf,
+ int *bytesLeft)
{
register int pixelsLeft = numPixels;
@@ -175,17 +173,14 @@ int *bytesLeft;
int
-LbxImageEncodePackBits (inbuf, outbuf, outbufSize, format, depth,
- num_scan_lines, scan_line_size, bytesCompressed)
-
-char *inbuf;
-char *outbuf;
-int outbufSize;
-int format;
-int depth;
-int num_scan_lines;
-int scan_line_size;
-int *bytesCompressed;
+LbxImageEncodePackBits (char *inbuf,
+ char *outbuf,
+ int outbufSize,
+ int format,
+ int depth,
+ int num_scan_lines,
+ int scan_line_size,
+ int *bytesCompressed)
{
char *outbuf_start = outbuf;