summaryrefslogtreecommitdiff
path: root/base/gxdevcli.h
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2019-04-03 03:28:01 -0700
committerRobin Watts <Robin.Watts@artifex.com>2019-04-03 12:13:23 +0100
commit76c6de5428936c8fdb7269d7fcc31d4bdc83d745 (patch)
treecf6614563330fe22439fcf2602ecb02a99ae0c54 /base/gxdevcli.h
parent7146b7292e27acc54d23b48472f6851ae9b51d8c (diff)
downloadghostpdl-76c6de5428936c8fdb7269d7fcc31d4bdc83d745.tar.gz
Fix problems with "typedef struct foo_s foo;" redefinitions.
In the header revamp, I'd left various places where we use the above formulation in more than one location. This is fine with all the C compilers I tested it on, but seems to update gcc 4.1.2. This effect can be seen on later gcc's by using "-std=gnu89 -pedantic". This commit tweaks the code to avoid redefinitions of this kind.
Diffstat (limited to 'base/gxdevcli.h')
-rw-r--r--base/gxdevcli.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/base/gxdevcli.h b/base/gxdevcli.h
index 0c2c946cc..33f7c3724 100644
--- a/base/gxdevcli.h
+++ b/base/gxdevcli.h
@@ -115,10 +115,6 @@
/* ---------------- Auxiliary types and structures ---------------- */
-/* We need an abstract type for the image enumeration state, */
-/* for begin[_typed]_image. */
-typedef struct gx_image_enum_common_s gx_image_enum_common_t;
-
/* We need an abstract type for the pattern instance, */
/* for pattern_manage. */
typedef struct gs_pattern1_instance_s gs_pattern1_instance_t;