aboutsummaryrefslogtreecommitdiff
path: root/src/html_common.hh
diff options
context:
space:
mode:
authorp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
committerp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
commit0f0e7cc54aecab1647bdcd222c84d17275b92313 (patch)
tree225d4a6128cd2ddbc1f762b0355c986f12c13730 /src/html_common.hh
parent69666a2dafc8a00e5029f4b671ed94d5be38e109 (diff)
clean up struct typedefs
Diffstat (limited to 'src/html_common.hh')
-rw-r--r--src/html_common.hh11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/html_common.hh b/src/html_common.hh
index a89e1cb5..cdb856db 100644
--- a/src/html_common.hh
+++ b/src/html_common.hh
@@ -39,9 +39,6 @@
* Typedefs
*/
-typedef struct _DilloHtmlImage DilloHtmlImage;
-typedef struct _DilloHtmlState DilloHtmlState;
-
typedef enum {
DT_NONE,
DT_HTML,
@@ -94,12 +91,12 @@ typedef enum {
* Data Structures
*/
-struct _DilloHtmlImage {
+typedef struct {
DilloUrl *url;
DilloImage *image;
-};
+} DilloHtmlImage;
-struct _DilloHtmlState {
+typedef struct {
DilloHtmlParseMode parse_mode;
DilloHtmlTableMode table_mode;
DilloHtmlTableBorderMode table_border_mode;
@@ -120,7 +117,7 @@ struct _DilloHtmlState {
have to be "handed over" (see Html_add_indented and
Html_eventually_pop_dw). */
bool hand_over_break;
-};
+} DilloHtmlState;
/*
* Classes