summaryrefslogtreecommitdiffstats
path: root/tbl_layout.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@netbsd.org>2011-04-07 01:08:42 +0000
committerJoerg Sonnenberger <joerg@netbsd.org>2011-04-07 01:08:42 +0000
commite99813aa631956ea6bc1323879f2817f2fe6f761 (patch)
treee8b59faf54089ca36d09b90e933a405a8bfee947 /tbl_layout.c
parent27aea7255c76e3a5eb45660da5b5ead2dc61b692 (diff)
downloadmandoc-e99813aa631956ea6bc1323879f2817f2fe6f761.tar.gz
Don't shadow global identifiers.
Diffstat (limited to 'tbl_layout.c')
-rw-r--r--tbl_layout.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tbl_layout.c b/tbl_layout.c
index 65df1447..8dd35484 100644
--- a/tbl_layout.c
+++ b/tbl_layout.c
@@ -427,19 +427,19 @@ cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos)
}
static void
-head_adjust(const struct tbl_cell *cell, struct tbl_head *head)
+head_adjust(const struct tbl_cell *cellp, struct tbl_head *head)
{
- if (TBL_CELL_VERT != cell->pos &&
- TBL_CELL_DVERT != cell->pos) {
+ if (TBL_CELL_VERT != cellp->pos &&
+ TBL_CELL_DVERT != cellp->pos) {
head->pos = TBL_HEAD_DATA;
return;
}
- if (TBL_CELL_VERT == cell->pos)
+ if (TBL_CELL_VERT == cellp->pos)
if (TBL_HEAD_DVERT != head->pos)
head->pos = TBL_HEAD_VERT;
- if (TBL_CELL_DVERT == cell->pos)
+ if (TBL_CELL_DVERT == cellp->pos)
head->pos = TBL_HEAD_DVERT;
}