Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ps
diff options
context:
space:
mode:
authorJens Granseuer <jensgr@gmx.net>2005-03-03 10:23:54 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-03-03 10:23:54 (GMT)
commitcc62d7d24e4f83e21360307b268e91c8b02f6985 (patch)
tree40e96f167ad575e5b3bc5df409f124f0a5f34ade /ps
parent3e172ec91146dd44b2ea3278c1cdc783bdd83488 (diff)
Make it C89 compliant
2005-03-03 Jens Granseuer <jensgr@gmx.net> * ps/ps-document.c: (set_up_page), (start_interpreter): Make it C89 compliant
Diffstat (limited to 'ps')
-rw-r--r--ps/ps-document.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ps/ps-document.c b/ps/ps-document.c
index c1a9481..4d56721 100644
--- a/ps/ps-document.c
+++ b/ps/ps-document.c
@@ -548,12 +548,12 @@ set_up_page(PSDocument * gs)
GdkColormap *colormap;
gboolean size_changed;
- LOG ("Setup the page");
-
#ifdef HAVE_LOCALE_H
char *savelocale;
#endif
+ LOG ("Setup the page");
+
size_changed = compute_size (gs);
if (gs->pstarget == NULL)
@@ -783,8 +783,6 @@ start_interpreter(PSDocument * gs)
int std_out[2]; /* pipe from interp stdout */
int std_err[2]; /* pipe from interp stderr */
- LOG ("Start the interpreter");
-
#define NUM_ARGS 100
#define NUM_GS_ARGS (NUM_ARGS - 20)
#define NUM_ALPHA_ARGS 10
@@ -793,6 +791,8 @@ start_interpreter(PSDocument * gs)
char **gs_args, **alpha_args = NULL;
int argc = 0, i;
+ LOG ("Start the interpreter");
+
if(!gs->gs_filename)
return 0;