diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2012-03-23 22:52:29 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2012-03-23 22:52:29 +0000 |
commit | c396459ca41f2f4f5a2be059b6db35b4e10eca7f (patch) | |
tree | 19f132fd16cae8939b4927b9427c09526e276da7 | |
parent | 937945169cb09d94e4d7c993f47c3ea69c69d009 (diff) | |
download | libdom-c396459ca41f2f4f5a2be059b6db35b4e10eca7f.tar.gz libdom-c396459ca41f2f4f5a2be059b6db35b4e10eca7f.tar.bz2 |
Lose unnecessary "struct"
svn path=/trunk/libdom/; revision=13571
-rw-r--r-- | bindings/hubbub/parser.c | 4 | ||||
-rw-r--r-- | bindings/hubbub/parser.h | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/bindings/hubbub/parser.c b/bindings/hubbub/parser.c index ff05d5d..e1c0373 100644 --- a/bindings/hubbub/parser.c +++ b/bindings/hubbub/parser.c @@ -259,9 +259,9 @@ dom_hubbub_error dom_hubbub_parser_completed(dom_hubbub_parser *parser) * \param parser The parser object * \return the created document on success, NULL on failure */ -struct dom_document *dom_hubbub_parser_get_document(dom_hubbub_parser *parser) +dom_document *dom_hubbub_parser_get_document(dom_hubbub_parser *parser) { - struct dom_document *doc = NULL; + dom_document *doc = NULL; if (parser->complete) { doc = parser->doc; diff --git a/bindings/hubbub/parser.h b/bindings/hubbub/parser.h index 69d7cf5..820b8da 100644 --- a/bindings/hubbub/parser.h +++ b/bindings/hubbub/parser.h @@ -15,8 +15,6 @@ #include "errors.h" -struct dom_document; - typedef struct dom_hubbub_parser dom_hubbub_parser; /* The encoding source of the document */ @@ -63,7 +61,7 @@ dom_hubbub_error dom_hubbub_parser_parse_chunk(dom_hubbub_parser *parser, dom_hubbub_error dom_hubbub_parser_completed(dom_hubbub_parser *parser); /* Retrieve the created DOM Document */ -struct dom_document *dom_hubbub_parser_get_document(dom_hubbub_parser *parser); +dom_document *dom_hubbub_parser_get_document(dom_hubbub_parser *parser); /* Retrieve the document's encoding */ const char *dom_hubbub_parser_get_encoding(dom_hubbub_parser *parser, |