summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-05-31 21:37:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-05-31 21:37:17 +0000
commitf19a462f8c4f50fb9b2536a7f21f2530a2248ec5 (patch)
treea4b7c2a00a5157add44eee09afa27912bd7c18ee /mandoc.h
parente57a2805d5b079c45fb7e9da2257e143248deef4 (diff)
downloadmandoc-f19a462f8c4f50fb9b2536a7f21f2530a2248ec5.tar.gz
The name "struct tbl" was badly misleading for two reasons:
1) This struct almost exclusively contains the table options. 2) Information about the table as a whole is actually in "struct tbl_node". Besides, "struct tbl" was almost impossible to search for. So rename it to "struct tbl_opts". No functional change.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 774f2481..28319f2f 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -164,7 +164,7 @@ enum mandocerr {
MANDOCERR_MAX
};
-struct tbl {
+struct tbl_opts {
char tab; /* cell-separator */
char decimal; /* decimal point */
int linesize;
@@ -263,7 +263,7 @@ enum tbl_spant {
* A row of data in a table.
*/
struct tbl_span {
- struct tbl *tbl;
+ struct tbl_opts *opts;
struct tbl_head *head;
struct tbl_row *layout; /* layout row */
struct tbl_dat *first;