aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit0383763dbd62d52405be4dc65ae9aaff035c8f79 (patch)
treef33a40ae6056001779aa34270f3d6327d8956c5a /tbl_layout.c
parent49ebebc92aace0e1d18aba716fa150daf7f311e1 (diff)
downloadmandoc-0383763dbd62d52405be4dc65ae9aaff035c8f79.tar.gz
mandoc-0383763dbd62d52405be4dc65ae9aaff035c8f79.tar.zst
mandoc-0383763dbd62d52405be4dc65ae9aaff035c8f79.zip
Don't shadow global identifiers.
Diffstat (limited to 'tbl_layout.c')
-rw-r--r--tbl_layout.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tbl_layout.c b/tbl_layout.c
index d06d2978..936685c1 100644
--- a/tbl_layout.c
+++ b/tbl_layout.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_layout.c,v 1.18 2011/04/04 23:04:38 kristaps Exp $ */
+/* $Id: tbl_layout.c,v 1.19 2011/04/07 01:08:42 joerg Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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;
}