1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Description: declare function arguments for function pointers
Declare arguments as those are used in the source.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Bug-Debian: https://bugs.debian.org/1096599
Forwarded: no
Last-Update: 2025-09-06
---
--- a/canon.c
+++ b/canon.c
@@ -1104,7 +1104,7 @@ canon_propA0(struct exifprop *aprop, str
*/
static int
canon_subval(struct exifprop *prop, struct exiftags *t,
- struct exiftag *subtags, int (*valfun)())
+ struct exiftag *subtags, int (*valfun)(struct exifprop *, struct exifprop *, unsigned char *, struct exiftags *))
{
int i, j;
u_int16_t v;
--- a/makers.h
+++ b/makers.h
@@ -52,8 +52,8 @@
struct makerfun {
int val;
const char *name;
- void (*propfun)(); /* Function to parse properties. */
- struct ifd *(*ifdfun)(); /* Function to read IFD. */
+ void (*propfun)(struct exifprop *, struct exiftags *); /* Function to parse properties. */
+ struct ifd *(*ifdfun)(u_int32_t, struct tiffmeta *); /* Function to read IFD. */
};
extern struct makerfun makers[];
|