From c0485703d91bab94dfffd9f3b8d909c0c67b1989 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 12 May 2021 17:23:20 +0200 Subject: Fix build without MsgPack --- libcrystfel/src/image-msgpack.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libcrystfel/src/image-msgpack.c b/libcrystfel/src/image-msgpack.c index 6785fd5f..3410885e 100644 --- a/libcrystfel/src/image-msgpack.c +++ b/libcrystfel/src/image-msgpack.c @@ -520,10 +520,8 @@ ImageFeatureList *image_msgpack_read_peaks(const DataTemplate *dtempl, return NULL; } -double image_msgpack_get_value(const char *name, - void *data_block, - size_t data_block_size, - char *ptype) +int image_msgpack_read_header_to_cache(struct image *image, + const char *name) { ERROR("MessagePack is not supported in this installation (get_value).\n"); *ptype = 'f'; -- cgit v1.2.3