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 | 0f3e07a7a81648333cb8d63ab01081469045a61a (patch) | |
tree | 19f132fd16cae8939b4927b9427c09526e276da7 /bindings | |
parent | 9065139bd63545c1bc4c7f59459cede15a1b7dea (diff) | |
download | libdom-0f3e07a7a81648333cb8d63ab01081469045a61a.tar.gz libdom-0f3e07a7a81648333cb8d63ab01081469045a61a.tar.bz2 |
Lose unnecessary "struct"
svn path=/trunk/libdom/; revision=13571
Diffstat (limited to 'bindings')
-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, |