mirror of
https://github.com/curl/curl.git
synced 2025-04-24 16:40:32 +08:00
Some functions are static here, but extern in libxml's
SAX.h. gcc doesn't like that. Rename.
This commit is contained in:
parent
153fd2752c
commit
62082293c5
@ -131,7 +131,7 @@ static bool init(CURL *&conn, char *url)
|
|||||||
// libxml start element callback function
|
// libxml start element callback function
|
||||||
//
|
//
|
||||||
|
|
||||||
static void startElement(void *voidContext,
|
static void StartElement(void *voidContext,
|
||||||
const xmlChar *name,
|
const xmlChar *name,
|
||||||
const xmlChar **attributes)
|
const xmlChar **attributes)
|
||||||
{
|
{
|
||||||
@ -148,7 +148,7 @@ static void startElement(void *voidContext,
|
|||||||
// libxml end element callback function
|
// libxml end element callback function
|
||||||
//
|
//
|
||||||
|
|
||||||
static void endElement(void *voidContext,
|
static void EndElement(void *voidContext,
|
||||||
const xmlChar *name)
|
const xmlChar *name)
|
||||||
{
|
{
|
||||||
Context *context = (Context *)voidContext;
|
Context *context = (Context *)voidContext;
|
||||||
@ -173,7 +173,7 @@ static void handleCharacters(Context *context,
|
|||||||
// libxml PCDATA callback function
|
// libxml PCDATA callback function
|
||||||
//
|
//
|
||||||
|
|
||||||
static void characters(void *voidContext,
|
static void Characters(void *voidContext,
|
||||||
const xmlChar *chars,
|
const xmlChar *chars,
|
||||||
int length)
|
int length)
|
||||||
{
|
{
|
||||||
@ -215,10 +215,10 @@ static htmlSAXHandler saxHandler =
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
startElement,
|
StartElement,
|
||||||
endElement,
|
EndElement,
|
||||||
NULL,
|
NULL,
|
||||||
characters,
|
Characters,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user