diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-05-31 21:37:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-05-31 21:37:17 +0000 |
commit | f19a462f8c4f50fb9b2536a7f21f2530a2248ec5 (patch) | |
tree | a4b7c2a00a5157add44eee09afa27912bd7c18ee /mandoc.h | |
parent | e57a2805d5b079c45fb7e9da2257e143248deef4 (diff) | |
download | mandoc-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |