X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ec18722d02bd307bd09f30715dc8ba4e1b8a6716..faf6326828be2108facd64fcca291c4ffb523eea:/uip/picksbr.c diff --git a/uip/picksbr.c b/uip/picksbr.c index 3f8a17c2..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, @@ -519,8 +519,7 @@ PRaction (struct nexus *n, int level) dasctime (&n->n_tws, TW_NULL)); return; } - fprintf (stderr, "UNKNOWN(0x%x)\n", - (unsigned int)(unsigned long) (*n->n_action)); + fprintf(stderr, "UNKNOWN(%#llx)\n", (unsigned long long)n->n_action); }