summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <ralph.giles@artifex.com>2009-04-17 00:32:26 +0000
committerRalph Giles <ralph.giles@artifex.com>2009-04-17 00:32:26 +0000
commit1e422ee33e1dcb5a732f3df47686e8fa460ec3eb (patch)
tree5a77db9cd619aa58a4dc9ff152f2443eb18141c3
parent3d6bca4bf14edcdf8e69bf3ea1dfda552c0606a0 (diff)
Remove unnecessary includes of gserrors.h in the jpeg stream module.
Fixes two coverity warnings. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9648 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r--gs/base/lib.mak4
-rw-r--r--gs/base/sjpegd.c1
-rw-r--r--gs/base/sjpege.c1
3 files changed, 2 insertions, 4 deletions
diff --git a/gs/base/lib.mak b/gs/base/lib.mak
index c88c36361..2b33f7b2b 100644
--- a/gs/base/lib.mak
+++ b/gs/base/lib.mak
@@ -1314,7 +1314,7 @@ $(GLOBJ)sdcte.$(OBJ) : $(GLSRC)sdcte.c $(AK)\
$(GLOBJ)sjpege.$(OBJ) : $(GLSRC)sjpege.c $(AK)\
$(stdio__h) $(string__h) $(gx_h)\
$(jerror__h) $(jpeglib__h)\
- $(gserrors_h) $(sjpeg_h) $(sdct_h) $(strimpl_h)
+ $(sjpeg_h) $(sdct_h) $(strimpl_h)
$(GLJCC) $(GLO_)sjpege.$(OBJ) $(C_) $(GLSRC)sjpege.c
# sdeparam is used by the filter operator and the PS/PDF writer.
@@ -1344,7 +1344,7 @@ $(GLOBJ)sdctd.$(OBJ) : $(GLSRC)sdctd.c $(AK)\
$(GLOBJ)sjpegd.$(OBJ) : $(GLSRC)sjpegd.c $(AK)\
$(stdio__h) $(string__h) $(gx_h)\
$(jerror__h) $(jpeglib__h)\
- $(gserrors_h) $(sjpeg_h) $(sdct_h) $(strimpl_h)
+ $(sjpeg_h) $(sdct_h) $(strimpl_h)
$(GLJCC) $(GLO_)sjpegd.$(OBJ) $(C_) $(GLSRC)sjpegd.c
# sddparam is used by the filter operator.
diff --git a/gs/base/sjpegd.c b/gs/base/sjpegd.c
index d9193972e..7f7068d69 100644
--- a/gs/base/sjpegd.c
+++ b/gs/base/sjpegd.c
@@ -18,7 +18,6 @@
#include "jpeglib_.h"
#include "jerror_.h"
#include "gx.h"
-#include "gserrors.h"
#include "strimpl.h"
#include "sdct.h"
#include "sjpeg.h"
diff --git a/gs/base/sjpege.c b/gs/base/sjpege.c
index 70403ab3a..63994cb24 100644
--- a/gs/base/sjpege.c
+++ b/gs/base/sjpege.c
@@ -18,7 +18,6 @@
#include "jpeglib_.h"
#include "jerror_.h"
#include "gx.h"
-#include "gserrors.h"
#include "strimpl.h"
#include "sdct.h"
#include "sjpeg.h"