--- ray/src/common/calprnt.c 2003/11/14 17:22:06 2.5 +++ ray/src/common/calprnt.c 2012/10/24 00:39:09 2.6 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: calprnt.c,v 2.5 2003/11/14 17:22:06 schorsch Exp $"; +static const char RCSid[] = "$Id: calprnt.c,v 2.6 2012/10/24 00:39:09 greg Exp $"; #endif /* * calprint.c - routines for printing calcomp expressions. @@ -14,12 +14,13 @@ static const char RCSid[] = "$Id: calprnt.c,v 2.5 2003 void -eprint(ep, fp) /* print a parse tree */ -register EPNODE *ep; -FILE *fp; +eprint( /* print a parse tree */ + EPNODE *ep, + FILE *fp +) { static EPNODE *curdef = NULL; - register EPNODE *ep1 = NULL; + EPNODE *ep1 = NULL; switch (ep->type) { @@ -101,11 +102,12 @@ FILE *fp; void -dprint(name, fp) /* print a definition (all if no name) */ -char *name; -FILE *fp; +dprint( /* print a definition (all if no name) */ + char *name, + FILE *fp +) { - register EPNODE *ep; + EPNODE *ep; if (name == NULL) for (ep = dfirst(); ep != NULL; ep = dnext()) {