mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove unused code from xml/compat.c
This commit is contained in:
@@ -19,19 +19,8 @@
|
||||
#include "expat_compat.h"
|
||||
#include "ext/libxml/php_libxml.h"
|
||||
|
||||
typedef struct _php_xml_ns {
|
||||
xmlNsPtr nsptr;
|
||||
int ref_count;
|
||||
void *next;
|
||||
void *prev;
|
||||
} php_xml_ns;
|
||||
|
||||
#ifdef LIBXML_EXPAT_COMPAT
|
||||
|
||||
#define IS_NS_DECL(__ns) \
|
||||
((__ns) != NULL && strlen(__ns) == 5 && *(__ns) == 'x' && *((__ns)+1) == 'm' && \
|
||||
*((__ns)+2) == 'l' && *((__ns)+3) == 'n' && *((__ns)+4) == 's')
|
||||
|
||||
static void
|
||||
_qualify_namespace(XML_Parser parser, const xmlChar *name, const xmlChar *URI, xmlChar **qualified)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user