ext/mask.c in ruby-vips-0.2.1 vs ext/mask.c in ruby-vips-0.3.0
- old
+ new
@@ -1,8 +1,6 @@
#include "ruby_vips.h"
-#include "mask.h"
-#include "image.h"
VALUE cVIPSMask;
static void
mask_free(vipsMask *msk)
@@ -326,10 +324,10 @@
* These operations will raise an exception if given a mask that contains
* any float values.
*/
void
-init_Mask()
+init_Mask( void )
{
cVIPSMask = rb_define_class_under(mVIPS, "Mask", rb_cObject);
rb_define_alloc_func(cVIPSMask, mask_alloc);
rb_define_method(cVIPSMask, "initialize", mask_initialize, -1);