summaryrefslogtreecommitdiff
path: root/source/fitz/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/device.c')
-rw-r--r--source/fitz/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/device.c b/source/fitz/device.c
index 727000e8..f79c8edf 100644
--- a/source/fitz/device.c
+++ b/source/fitz/device.c
@@ -1,7 +1,7 @@
#include "fitz-imp.h"
-void *
-fz_new_device(fz_context *ctx, int size)
+fz_device *
+fz_new_device_of_size(fz_context *ctx, int size)
{
fz_device *dev = Memento_label(fz_calloc(ctx, 1, size), "fz_device");
dev->refs = 1;