diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2005-02-09 15:15:01 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2005-02-09 15:15:01 +0000 |
commit | 62082293c5307db04ca6b26553e045f53e2e0255 (patch) | |
tree | 718d19367e8bcbf4ab1c5eef1698a31577819547 /docs/examples | |
parent | 153fd2752cf6ca92ec899b7acba0d7b63bc564bf (diff) |
Some functions are static here, but extern in libxml's
SAX.h. gcc doesn't like that. Rename.
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/htmltitle.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/examples/htmltitle.cc b/docs/examples/htmltitle.cc index 9e683488f..62a4363d5 100644 --- a/docs/examples/htmltitle.cc +++ b/docs/examples/htmltitle.cc @@ -131,7 +131,7 @@ static bool init(CURL *&conn, char *url) // libxml start element callback function // -static void startElement(void *voidContext, +static void StartElement(void *voidContext, const xmlChar *name, const xmlChar **attributes) { @@ -148,7 +148,7 @@ static void startElement(void *voidContext, // libxml end element callback function // -static void endElement(void *voidContext, +static void EndElement(void *voidContext, const xmlChar *name) { Context *context = (Context *)voidContext; @@ -173,7 +173,7 @@ static void handleCharacters(Context *context, // libxml PCDATA callback function // -static void characters(void *voidContext, +static void Characters(void *voidContext, const xmlChar *chars, int length) { @@ -215,10 +215,10 @@ static htmlSAXHandler saxHandler = NULL, NULL, NULL, - startElement, - endElement, + StartElement, + EndElement, NULL, - characters, + Characters, NULL, NULL, NULL, |