summaryrefslogtreecommitdiff
path: root/base/gxdevice.h
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-05-03 17:21:05 +0100
committerRobin Watts <Robin.Watts@artifex.com>2021-05-12 16:00:21 +0100
commitbfaafca304097b4701a48c795a0b45314c8e4823 (patch)
tree3d94ef1be9752462ada142d40260a3a589dd2f43 /base/gxdevice.h
parent65a3c84ece7a9ff5dc57cae84c04d1f9b57da0c1 (diff)
downloadghostpdl-bfaafca304097b4701a48c795a0b45314c8e4823.tar.gz
Make gx_device_unsubclass void.
Nothing ever checks it, and it can never fail. Also, (at Ken's request) fix some typos. (And due to my OCD, reformat the comments to fit in 80 chars :) )
Diffstat (limited to 'base/gxdevice.h')
-rw-r--r--base/gxdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxdevice.h b/base/gxdevice.h
index 298db3adf..76d0198b4 100644
--- a/base/gxdevice.h
+++ b/base/gxdevice.h
@@ -658,7 +658,7 @@ typedef struct {
int gx_copy_device_procs(gx_device *dest, const gx_device *src, const gx_device *prototype);
int gx_device_subclass(gx_device *dev_to_subclass, gx_device *new_prototype, unsigned int private_data_size);
-int gx_device_unsubclass(gx_device *dev);
+void gx_device_unsubclass(gx_device *dev);
int gx_update_from_subclass(gx_device *dev);
int gx_subclass_composite(gx_device *dev, gx_device **pcdev, const gs_composite_t *pcte,
gs_gstate *pgs, gs_memory_t *memory, gx_device *cdev);