diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-29 14:02:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-29 14:02:41 +0000 |
commit | db2b5ef38c2f1862472b7a9ccf6af9dac7551eb5 (patch) | |
tree | 3f3a6bdeb2d0dab4e7c08287757b51d9d55e465f /html.h | |
parent | 137b7894f98df8048a9fb82e36cc9c8c65efcc65 (diff) | |
download | mandoc-db2b5ef38c2f1862472b7a9ccf6af9dac7551eb5.tar.gz |
eliminate one useless struct and one level of indirection;
no functional change
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -78,10 +78,6 @@ struct tag { enum htmltag tag; }; -struct tagq { - struct tag *head; -}; - struct html { int flags; #define HTML_NOSPACE (1 << 0) /* suppress next space */ @@ -100,7 +96,7 @@ struct html { size_t col; /* current output byte position */ size_t bufcol; /* current buf byte position */ char buf[80]; /* output buffer */ - struct tagq tags; /* stack of open tags */ + struct tag *tag; /* last open tag */ struct rofftbl tbl; /* current table */ struct tag *tblt; /* current open table scope */ char *base_man; /* base for manpage href */ |