summaryrefslogtreecommitdiff
path: root/gs/src/srld.c
diff options
context:
space:
mode:
authorRalph Giles <ralph.giles@artifex.com>2007-09-25 13:31:24 +0000
committerRalph Giles <ralph.giles@artifex.com>2007-09-25 13:31:24 +0000
commit4dbf3a1c72ca3e0771ba4e60a0b8a729383be2a5 (patch)
tree2001fecf4779bb5991c3849167dd1c09ccc6b982 /gs/src/srld.c
parent615b82a47c8a14fd043b3ead5fc13d1fc38b8ad3 (diff)
Replace the 'private' define with the now standard C keyword 'static'.
DETAILS: The compilers we support have supported static for some time now, so idiomatic, and removes one of the obstacles to compiling Ghostscript as C++. The patch also removes support for compilation with -dNOPRIVATE, which is not longer necessary with modern debuggers. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8250 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/srld.c')
-rw-r--r--gs/src/srld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gs/src/srld.c b/gs/src/srld.c
index e73837092..afbd4c809 100644
--- a/gs/src/srld.c
+++ b/gs/src/srld.c
@@ -23,7 +23,7 @@
private_st_RLD_state();
/* Set defaults */
-private void
+static void
s_RLD_set_defaults(stream_state * st)
{
stream_RLD_state *const ss = (stream_RLD_state *) st;
@@ -32,7 +32,7 @@ s_RLD_set_defaults(stream_state * st)
}
/* Initialize */
-private int
+static int
s_RLD_init(stream_state * st)
{
stream_RLD_state *const ss = (stream_RLD_state *) st;
@@ -41,7 +41,7 @@ s_RLD_init(stream_state * st)
}
/* Refill the buffer */
-private int
+static int
s_RLD_process(stream_state * st, stream_cursor_read * pr,
stream_cursor_write * pw, bool last)
{