TblTStart(Element_t * ep,
FILE * fP)
{
- register char * cp;
- register struct Element_t * ep2;
+ char * cp;
+ struct Element_t * ep2;
TblTEnd(Element_t * ep,
FILE * fP)
{
- register struct tblformat * ffp, * ffp2;
+ struct tblformat * ffp, * ffp2;
if ( tblBOFTCount > 31 ) {
TblTGroup(Element_t * ep,
FILE * fP)
{
- register int i, j, k;
- register char * cp, * cp2;
- register Element_t * ep2, ep3;
- register struct tblcolspec * tcsp, * tcsp2;
- register struct tblspanspec * tssp, * tssp2;
+ int i, j, k;
+ char * cp, * cp2;
+ Element_t * ep2, ep3;
+ struct tblcolspec * tcsp, * tcsp2;
+ struct tblspanspec * tssp, * tssp2;
tblColSpec = 0; /* make sure they're clear */
TblTGroupEnd(Element_t * ep,
FILE * fP)
{
- register struct tblcolspec * tcsp, * tcsp2;
- register struct tblspanspec * tssp, * tssp2;
+ struct tblcolspec * tcsp, * tcsp2;
+ struct tblspanspec * tssp, * tssp2;
for ( tcsp=tblColSpec; tcsp; tcsp=tcsp2 ) {
TblTFoot(Element_t * ep,
FILE * fP)
{
- register struct tblformat * ffp, * ffp2;
+ struct tblformat * ffp, * ffp2;
static struct tblformat * tfp, * tfp2;
* building */
tblsource source) /* type of record */
{
- register int i;
- register struct tblformat * lfp; /* "current" format */
- register struct tblformat * nfp; /* the next format */
+ int i;
+ struct tblformat * lfp; /* "current" format */
+ struct tblformat * nfp; /* the next format */
for ( lfp= *fp; lfp && lfp->next; lfp=lfp->next )
bool addinRowsep, /* insert rowsep into model? */
tblsource source) /* type type of row */
{
- register int i;
- register bool allProp;
+ int i;
+ bool allProp;
float totalProp;
- register struct tblformat * tfp;
- register Element_t * ep; /* entry pointer */
+ struct tblformat * tfp;
+ Element_t * ep; /* entry pointer */
Calloc(1, tfp, struct tblformat);
Element_t * entry, /* the entry */
tblsource source) /* context */
{
- register struct tblcolspec * tcsp;
- register struct tblspanspec * tssp;
- register tblalign talign;
+ struct tblcolspec * tcsp;
+ struct tblspanspec * tssp;
+ tblalign talign;
if ( entry && (tssp = TblEntrySpanSpec(col, entry, source)) ) {
bool literal, /* literal (or proportional) */
tblsource source) /* context */
{
- register struct tblcolspec * tcsp;
- register struct tblspanspec * tssp;
+ struct tblcolspec * tcsp;
+ struct tblspanspec * tssp;
static char colWidth[10];
Element_t * entry, /* the entry */
tblsource source) /* context */
{
- register struct tblcolspec * tcsp;
- register struct tblspanspec * tssp;
+ struct tblcolspec * tcsp;
+ struct tblspanspec * tssp;
return "";
Element_t * entry, /* the entry */
tblsource source) /* context */
{
- register struct tblcolspec * tcsp;
- register struct tblspanspec * tssp;
- register bool colsep;
+ struct tblcolspec * tcsp;
+ struct tblspanspec * tssp;
+ bool colsep;
if ( entry && (tssp = TblEntrySpanSpec(col, entry, source)) ) {
Element_t * entry, /* the entry */
tblsource source) /* context */
{
- register struct tblcolspec * tcsp;
- register struct tblspanspec * tssp;
- register bool rowsep;
+ struct tblcolspec * tcsp;
+ struct tblspanspec * tssp;
+ bool rowsep;
if ( entry && (tssp = TblEntrySpanSpec(col, entry, source)) ) {
rowsep = tssp->rowsep;
Element_t * entry, /* the entry */
tblsource source) /* context */
{
- register char * cp;
+ char * cp;
if ( cp = FindAttValByName(entry, "MOREROWS") )
struct tblformat * tfp, /* pointer to prevailing format */
tblsource source) /* context */
{
- register bool bump;
- register struct tblspanspec * tssp;
+ bool bump;
+ struct tblspanspec * tssp;
bump = TRUE;
Element_t * ep, /* entry */
tblsource source) /* context */
{
- register int i;
- register bool throwAway;
- register char * cp;
- register struct tblcolspec * tcsp, * tcsp2;
+ int i;
+ bool throwAway;
+ char * cp;
+ struct tblcolspec * tcsp, * tcsp2;
tcsp = tcsp2 = 0;
Element_t * ep, /* entry */
tblsource source) /* context */
{
- register char * cp, * cp2;
- register struct tblspanspec * tssp, * tssp2;
+ char * cp, * cp2;
+ struct tblspanspec * tssp, * tssp2;
tssp2 = 0;
TblFormatMatch(struct tblformat * tf1, /* one row */
struct tblformat * tf2) /* the other */
{
- register int i;
+ int i;
if ( tf1->cols != tf2->cols ) {
return FALSE;
TblPrintFormat(FILE * fP, /* where to print */
struct tblformat * tfp) /* the structure */
{
- register int i;
- register struct tblformat * tfp2, * tfp3;
+ int i;
+ struct tblformat * tfp2, * tfp3;
static char buf[3] = "\000\000";
TblTRowEnd(Element_t * ep,
FILE * fP)
{
- register int i, k;
- register tblsource source;
- register bool startedRow, didSep;
- register struct tblformat * rfp;
+ int i, k;
+ tblsource source;
+ bool startedRow, didSep;
+ struct tblformat * rfp;
OutputString("^", fP, 1);
TblTCellStart(Element_t * ep,
FILE * fP)
{
- register int i;
- register Element_t * ep2;
- register bool sawPIorPara;
+ int i;
+ Element_t * ep2;
+ bool sawPIorPara;
for ( i=0, sawPIorPara=FALSE; i < ep->ncont; i++ ) {
int
TblCountContent(Element_t * ep) /* the element to look under */
{
- register int i, count;
- register char * cp;
+ int i, count;
+ char * cp;
count = 0;
TblTCellEnd(Element_t * ep,
FILE * fP)
{
- register Element_t * ep2;
+ Element_t * ep2;
if ( tblinBOFT ) {
struct tblcolspec * pcsp, /* prevailing colspec (with defaults) */
tblsource source) /* precedence level of the resulting spec */
{
- register char * cp;
- register struct tblcolspec * tcsp;
+ char * cp;
+ struct tblcolspec * tcsp;
Calloc(1, tcsp, struct tblcolspec);
struct tblspanspec * pssp, /* prevailing spanspec (with defaults) */
tblsource source) /* precedence level of the resulting spec */
{
- register char * cp;
- register struct tblspanspec * tssp;
- register struct tblcolspec * tcsp;
+ char * cp;
+ struct tblspanspec * tssp;
+ struct tblcolspec * tcsp;
Calloc(1, tssp, struct tblspanspec);
TblFindColSpec(char * name, /* the name we're looking for */
tblsource source) /* the context in which to find it */
{
- register struct tblcolspec * tcsp;
+ struct tblcolspec * tcsp;
/* first, try to find the one in the right "source" */
TblFindColNum(short number, /* the number we're looking for */
tblsource source) /* the context in which to find it */
{
- register struct tblcolspec * tcsp;
+ struct tblcolspec * tcsp;
TblFindSpanSpec(char * name, /* the name we're looking for */
tblsource source) /* the context in which to find it */
{
- register struct tblspanspec * tssp;
+ struct tblspanspec * tssp;
/* first, try to find the one in the right "source" */