netsurf: use const char w/ parser wrapper

This commit is contained in:
Pierre Tachoire
2023-10-04 16:27:32 +02:00
parent cd53d2604c
commit 04892c7910
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
* \param string The HTML string
* \return pointer to DOM document, or NULL on error
*/
dom_document *wr_create_doc_dom_from_string(char *html)
dom_document *wr_create_doc_dom_from_string(const char *html)
{
dom_hubbub_parser *parser = NULL;
dom_hubbub_error error;

View File

@@ -3,7 +3,7 @@
#include <dom/dom.h>
dom_document *wr_create_doc_dom_from_string(char *html);
dom_document *wr_create_doc_dom_from_file(char *filename);
dom_document *wr_create_doc_dom_from_string(const char *html);
dom_document *wr_create_doc_dom_from_file(const char *filename);
#endif /* wrapper_dom_h_ */