diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2021-08-23 16:13:17 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2021-08-25 13:51:41 +0100 |
commit | 87d2055eee9df364166757f0b4aaec23f98e26d3 (patch) | |
tree | 3bf3003cfa166e781f5932af380d10150bd88c19 /gpdl | |
parent | 475fdaeb076ee7b1db94da1c1ba0cd19a1831af7 (diff) | |
download | ghostpdl-87d2055eee9df364166757f0b4aaec23f98e26d3.tar.gz |
Remove redundant entries from pl_interp_characteristics_t
The manufacturer, version and build date entries in the
pl_interp_characteristics_t were never really used except for version, which
was just set to the GS_VERSION.
Remove the pointless entries, and use a more direct approach to version
reporting.
Diffstat (limited to 'gpdl')
-rw-r--r-- | gpdl/image/imagetop.c | 3 | ||||
-rw-r--r-- | gpdl/jbig2top.c | 3 | ||||
-rw-r--r-- | gpdl/jp2ktop.c | 3 | ||||
-rw-r--r-- | gpdl/jpgtop.c | 3 | ||||
-rw-r--r-- | gpdl/pngtop.c | 3 | ||||
-rw-r--r-- | gpdl/psitop.c | 7 | ||||
-rw-r--r-- | gpdl/pwg/pwgtop.c | 3 | ||||
-rw-r--r-- | gpdl/pwgtop.c | 3 | ||||
-rw-r--r-- | gpdl/tifftop.c | 3 |
9 files changed, 0 insertions, 31 deletions
diff --git a/gpdl/image/imagetop.c b/gpdl/image/imagetop.c index b3232dccc..6100d4d24 100644 --- a/gpdl/image/imagetop.c +++ b/gpdl/image/imagetop.c @@ -109,9 +109,6 @@ img_detect_language(const char *s, int len) static const pl_interp_characteristics_t img_characteristics = { "IMAGE", img_detect_language, - "Artifex", - "0.01", - "11 Nov 2019", 1 /* minimum input size */ }; diff --git a/gpdl/jbig2top.c b/gpdl/jbig2top.c index 4a453c273..15f1eefea 100644 --- a/gpdl/jbig2top.c +++ b/gpdl/jbig2top.c @@ -89,9 +89,6 @@ jbig2_detect_language(const char *s, int len) static const pl_interp_characteristics_t jbig2_characteristics = { "JBIG2", jbig2_detect_language, - "Artifex", - "0.01", - "18 Nov 2019" }; /* Get implementation's characteristics */ diff --git a/gpdl/jp2ktop.c b/gpdl/jp2ktop.c index 3ceba9b07..899e83745 100644 --- a/gpdl/jp2ktop.c +++ b/gpdl/jp2ktop.c @@ -113,9 +113,6 @@ jp2k_detect_language(const char *s_, int len) static const pl_interp_characteristics_t jp2k_characteristics = { "JP2K", jp2k_detect_language, - "Artifex", - "0.01", - "22 Nov 2019" }; /* Get implementation's characteristics */ diff --git a/gpdl/jpgtop.c b/gpdl/jpgtop.c index 56651a262..517e293d7 100644 --- a/gpdl/jpgtop.c +++ b/gpdl/jpgtop.c @@ -118,9 +118,6 @@ jpg_detect_language(const char *s, int len) static const pl_interp_characteristics_t jpg_characteristics = { "JPG", jpg_detect_language, - "Artifex", - "0.01", - "11 Nov 2019" }; /* GS's fakakta jpeg integration insists on putting a diff --git a/gpdl/pngtop.c b/gpdl/pngtop.c index fad4e2fa2..f50242664 100644 --- a/gpdl/pngtop.c +++ b/gpdl/pngtop.c @@ -110,9 +110,6 @@ png_detect_language(const char *s, int len) static const pl_interp_characteristics_t png_characteristics = { "PNG", png_detect_language, - "Artifex", - "0.01", - "11 Nov 2019" }; /* Get implementation's characteristics */ diff --git a/gpdl/psitop.c b/gpdl/psitop.c index e509c4618..00cf1a1a3 100644 --- a/gpdl/psitop.c +++ b/gpdl/psitop.c @@ -302,17 +302,10 @@ static const pl_interp_characteristics_t * /* always returns a descriptor */ ps_impl_characteristics(const pl_interp_implementation_t *impl) /* implementation of interpreter to alloc */ { /* version and build date are not currently used */ -#define PSVERSION NULL -#define PSBUILDDATE NULL static const pl_interp_characteristics_t ps_characteristics = { "POSTSCRIPT", ps_detect_language, - "Artifex", - PSVERSION, - PSBUILDDATE }; -#undef PSVERSION -#undef PSBUILDDATE return &ps_characteristics; } diff --git a/gpdl/pwg/pwgtop.c b/gpdl/pwg/pwgtop.c index 5e7549e0b..3c0334b31 100644 --- a/gpdl/pwg/pwgtop.c +++ b/gpdl/pwg/pwgtop.c @@ -99,9 +99,6 @@ pwg_detect_language(const char *s, int len) static const pl_interp_characteristics_t pwg_characteristics = { "PWG", pwg_detect_language, - "Artifex", - "0.01", - "13 Nov 2019", 1 /* minimum input size */ }; diff --git a/gpdl/pwgtop.c b/gpdl/pwgtop.c index a8d628695..3f4cd90ed 100644 --- a/gpdl/pwgtop.c +++ b/gpdl/pwgtop.c @@ -103,9 +103,6 @@ pwg_detect_language(const char *s, int len) static const pl_interp_characteristics_t pwg_characteristics = { "PWG", pwg_detect_language, - "Artifex", - "0.01", - "13 Nov 2019" }; /* Get implementation's characteristics */ diff --git a/gpdl/tifftop.c b/gpdl/tifftop.c index 10a9ebcc7..5876eb87a 100644 --- a/gpdl/tifftop.c +++ b/gpdl/tifftop.c @@ -114,9 +114,6 @@ tiff_detect_language(const char *s, int len) static const pl_interp_characteristics_t tiff_characteristics = { "TIFF", tiff_detect_language, - "Artifex", - "0.01", - "18 Nov 2019" }; /* Get implementation's characteristics */ |