diff options
author | Jeremy Henty <onepoint@starurchin.org> | 2010-08-25 13:02:06 +0200 |
---|---|---|
committer | Jeremy Henty <onepoint@starurchin.org> | 2010-08-25 13:02:06 +0200 |
commit | 62be9dbb1622b3f01745bb6d6df2ea2e1f715965 (patch) | |
tree | 4a70efb826c007720c46bb859ad8ce056737ef2b /src | |
parent | d4d54185af6c2217316cab75dae5de26a34d7ae2 (diff) |
html.cc cleanups
They remove two unused structs and make variable names
consistent between function typedefs and function definitions.
Diffstat (limited to 'src')
-rw-r--r-- | src/html.cc | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/html.cc b/src/html.cc index 49d06da3..66929c6b 100644 --- a/src/html.cc +++ b/src/html.cc @@ -68,9 +68,8 @@ using namespace dw::core::style; * Typedefs *---------------------------------------------------------------------------*/ class DilloHtml; -typedef void (*TagOpenFunct) (DilloHtml *Html, const char *Tag, int Tagsize); -typedef void (*TagCloseFunct) (DilloHtml *Html, int TagIdx); -typedef struct _DilloHtmlClass DilloHtmlClass; +typedef void (*TagOpenFunct) (DilloHtml *html, const char *tag, int tagsize); +typedef void (*TagCloseFunct) (DilloHtml *html, int TagIdx); typedef enum { SEEK_ATTR_START, @@ -3132,14 +3131,6 @@ static void Html_tag_close_par(DilloHtml *html, int TagIdx) * - Empty elements have both inline and block container clear. * (flow have both set) */ -struct _TagInfo{ - const char *name; - unsigned char Flags; - char EndTag; - uchar_t TagLevel; - TagOpenFunct open; - TagCloseFunct close; -}; const TagInfo Tags[] = { |