Commit 62082293 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Some functions are static here, but extern in libxml's

SAX.h. gcc doesn't like that. Rename.
parent 153fd275
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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,