From 701ff1ae8d146e2488b3d2fb5637ee00c05875dd Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 9 Jul 2012 17:20:58 +0100 Subject: [PATCH] oops fix build failure --- libvips/include/vips/operation.h | 3 +-- libvips/iofuncs/object.c | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libvips/include/vips/operation.h b/libvips/include/vips/operation.h index 0307cccf..bae34ae6 100644 --- a/libvips/include/vips/operation.h +++ b/libvips/include/vips/operation.h @@ -90,8 +90,7 @@ int vips_operation_call_valist( VipsOperation *operation, va_list ap ); VipsOperation *vips_operation_new( const char *name ); int vips_call( const char *operation_name, ... ) __attribute__((sentinel)); -int vips_call_split( const char *operation_name, va_list optional, ... ) - __attribute__((sentinel)); +int vips_call_split( const char *operation_name, va_list optional, ... ); void vips_call_options( GOptionGroup *group, VipsOperation *operation ); int vips_call_argv( VipsOperation *operation, int argc, char **argv ); diff --git a/libvips/iofuncs/object.c b/libvips/iofuncs/object.c index 44c5f9ac..a438e777 100644 --- a/libvips/iofuncs/object.c +++ b/libvips/iofuncs/object.c @@ -48,6 +48,8 @@ #include #include +#include + /* Our signals. */ enum { @@ -1811,7 +1813,7 @@ vips_object_set( VipsObject *object, ... ) va_list ap; int result; - va_start( required, ap ); + va_start( ap, object ); result = vips_object_set_valist( object, ap ); va_end( ap );