summaryrefslogtreecommitdiff
path: root/xps/xpsjpeg.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2010-04-22 14:23:06 +0000
committerTor Andersson <tor.andersson@artifex.com>2010-04-22 14:23:06 +0000
commit0c024b93d3f90e1b5f64c9bb41326337799b3adb (patch)
tree9fc212661beeefd6c29e485a130a04a439af4c7b /xps/xpsjpeg.c
parent3ca991a63a1e63a5f8e3d601945e88a2d8c9b192 (diff)
downloadghostpdl-0c024b93d3f90e1b5f64c9bb41326337799b3adb.tar.gz
Conform to coding style: function return values should be on a separate line.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11106 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'xps/xpsjpeg.c')
-rw-r--r--xps/xpsjpeg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xps/xpsjpeg.c b/xps/xpsjpeg.c
index 7cc940c41..e86f037d8 100644
--- a/xps/xpsjpeg.c
+++ b/xps/xpsjpeg.c
@@ -22,13 +22,15 @@
#include "sdct.h"
#include "sjpeg.h"
-static int xps_report_error(stream_state * st, const char *str)
+static int
+xps_report_error(stream_state * st, const char *str)
{
(void) gs_throw1(-1, "%s", str);
return 0;
}
-int xps_decode_jpeg(gs_memory_t *mem, byte *rbuf, int rlen, xps_image_t *image)
+int
+xps_decode_jpeg(gs_memory_t *mem, byte *rbuf, int rlen, xps_image_t *image)
{
jpeg_decompress_data jddp;
stream_DCT_state state;