From f2552a93d977406ed401dc206d7af889e5840f6e Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Fri, 25 Aug 2017 22:43:46 +0100 Subject: [PATCH] picksbr.c: Specify parameters of nexus's n_action function pointer. Omitting them is obsolescent by modern C standards. --- uip/picksbr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uip/picksbr.c b/uip/picksbr.c index 169a5bec..90025abd 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -116,7 +116,7 @@ static unsigned char cc[] = { #define pinform if (!talked++) inform struct nexus { - int (*n_action)(); + int (*n_action)(struct nexus *n, FILE *fp, int msgnum, long start, long stop); union { /* for {OR,AND,NOT}action */ @@ -180,7 +180,7 @@ static struct nexus *parse(void); static struct nexus *nexp1(void); static struct nexus *nexp2(void); static struct nexus *nexp3(void); -static struct nexus *newnexus(int (*)(struct nexus *n, +static struct nexus *newnexus(int (*action)(struct nexus *n, FILE *fp, int msgnum, long start, long stop)); static int ORaction(struct nexus *n, FILE *fp, int msgnum, -- 2.56.0