From 045268a78c40d7f546220504f971c728aebc00be Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 2 Feb 2025 16:09:16 -0700 Subject: [PATCH 1/2] Do not redeclare statfs() --- src/ip.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ip.h b/src/ip.h index 7a7c3d9..6cfbbd4 100644 --- a/src/ip.h +++ b/src/ip.h @@ -108,7 +108,6 @@ #endif /*HAVE_SYS_STATVFS_H*/ #ifdef HAVE_SYS_VFS_H #include -extern int statfs(); #endif /*HAVE_SYS_VFS_H*/ #ifdef HAVE_SYS_MOUNT_H #include From 8c60c517b59f806da84d57cb1d083a213b811151 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 2 Feb 2025 16:12:38 -0700 Subject: [PATCH 2/2] Declare function arguments for function pointer --- src/plot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot.c b/src/plot.c index 52b7b9c..fb31093 100644 --- a/src/plot.c +++ b/src/plot.c @@ -375,7 +375,7 @@ plot_class_get( Classmodel *classmodel, PElement *root ) Imageinfo *ii2; IMAGE *t; DOUBLEMASK *mask; - int (*fn)(); + int (*fn)(VipsImage *, VipsImage *); /* nx1 or 1xm images only ... use Bands for columns. */