summaryrefslogtreecommitdiff
path: root/pdf/pdftop.c
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-08-23 16:13:17 +0100
committerChris Liddell <chris.liddell@artifex.com>2021-08-25 13:51:41 +0100
commit87d2055eee9df364166757f0b4aaec23f98e26d3 (patch)
tree3bf3003cfa166e781f5932af380d10150bd88c19 /pdf/pdftop.c
parent475fdaeb076ee7b1db94da1c1ba0cd19a1831af7 (diff)
downloadghostpdl-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 'pdf/pdftop.c')
-rw-r--r--pdf/pdftop.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/pdf/pdftop.c b/pdf/pdftop.c
index eea463445..66baf722a 100644
--- a/pdf/pdftop.c
+++ b/pdf/pdftop.c
@@ -48,10 +48,6 @@ typedef struct pdf_interp_instance_s
char scratch_name[gp_file_name_sizeof];
}pdf_interp_instance_t;
-/* version and build date are not currently used */
-#define PDF_VERSION NULL
-#define PDF_BUILD_DATE NULL
-
static int
pdf_detect_language(const char *s, int len)
{
@@ -67,9 +63,6 @@ pdf_impl_characteristics(const pl_interp_implementation_t *pimpl)
{
"PDF",
pdf_detect_language,
- "Artifex",
- PDF_VERSION,
- PDF_BUILD_DATE
};
return &pdf_characteristics;
}