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 | 3db79abdb1a5a61be157573ca909551cb2350b47 (patch) | |
tree | fbedcb5394b8b8930b8cced45ab5587674ebb37d /libroff.h | |
parent | a46db8d6dd0bb86c956e7c8fc3a7966c89e7d078 (diff) | |
download | mandoc-3db79abdb1a5a61be157573ca909551cb2350b47.tar.gz mandoc-3db79abdb1a5a61be157573ca909551cb2350b47.tar.zst mandoc-3db79abdb1a5a61be157573ca909551cb2350b47.zip |
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 'libroff.h')
-rw-r--r-- | libroff.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: libroff.h,v 1.27 2011/07/25 15:37:00 kristaps Exp $ */ +/* $Id: libroff.h,v 1.28 2013/05/31 21:37:17 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -31,7 +31,7 @@ struct tbl_node { int pos; /* invocation column */ int line; /* invocation line */ enum tbl_part part; - struct tbl opts; + struct tbl_opts opts; struct tbl_row *first_row; struct tbl_row *last_row; struct tbl_span *first_span; |