File: declare_function_arguments_for_function_pointer.patch

package info (click to toggle)
nip2 8.9.1-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 23,404 kB
  • sloc: ansic: 64,076; sh: 4,681; yacc: 1,133; makefile: 927; lex: 386; xml: 40; perl: 17
file content (22 lines) | stat: -rw-r--r-- 631 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 8c60c517b59f806da84d57cb1d083a213b811151 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion@nwra.com>
Date: Sun, 2 Feb 2025 16:12:38 -0700
Subject: [PATCH] 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 52b7b9cd..fb310939 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.
 	 */