diff options
author | Henry Stiles <henry.stiles@artifex.com> | 1998-08-08 06:14:25 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 1998-08-08 06:14:25 +0000 |
commit | a54bb96de84363bd3ffc7696805c268babc95954 (patch) | |
tree | ab95f514d2831fa22cecdf942d2530b656a66d9e /gs/src/srld.c | |
parent | 3305477b99710b8ce6223a0bdd5014ced4de6997 (diff) |
This commit was generated by cvs2svn to compensate for changes in r279,
which included commits to RCS files with non-trunk default branches.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@280 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'gs/src/srld.c')
-rw-r--r-- | gs/src/srld.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gs/src/srld.c b/gs/src/srld.c index 38676476b..3622ab4dd 100644 --- a/gs/src/srld.c +++ b/gs/src/srld.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997 Aladdin Enterprises. All rights reserved. +/* Copyright (C) 1995, 1996, 1997, 1998 Aladdin Enterprises. All rights reserved. This file is part of Aladdin Ghostscript. @@ -16,7 +16,7 @@ all copies. */ -/* srld.c */ +/*Id: srld.c */ /* RunLengthDecode filter */ #include "stdio_.h" /* includes std.h */ #include "memory_.h" @@ -27,12 +27,12 @@ private_st_RLD_state(); -#define ss ((stream_RLD_state *)st) - /* Set defaults */ private void s_RLD_set_defaults(stream_state * st) { + stream_RLD_state *const ss = (stream_RLD_state *) st; + s_RLD_set_defaults_inline(ss); } @@ -40,6 +40,8 @@ s_RLD_set_defaults(stream_state * st) private int s_RLD_init(stream_state * st) { + stream_RLD_state *const ss = (stream_RLD_state *) st; + return s_RLD_init_inline(ss); } @@ -48,6 +50,7 @@ private int s_RLD_process(stream_state * st, stream_cursor_read * pr, stream_cursor_write * pw, bool last) { + stream_RLD_state *const ss = (stream_RLD_state *) st; register const byte *p = pr->ptr; register byte *q = pw->ptr; const byte *rlimit = pr->limit; @@ -113,8 +116,6 @@ s_RLD_process(stream_state * st, stream_cursor_read * pr, return status; } -#undef ss - /* Stream template */ const stream_template s_RLD_template = {&st_RLD_state, s_RLD_init, s_RLD_process, 1, 1, NULL, |