From: Ilya M. <m_...@us...> - 2003-03-24 09:26:54
|
Update of /cvsroot/perl-xml/XML-LibXML-XPathContext In directory sc8-pr-cvs1:/tmp/cvs-serv3546 Modified Files: XPathContext.xs Log Message: Add missing 'static' declarations Index: XPathContext.xs =================================================================== RCS file: /cvsroot/perl-xml/XML-LibXML-XPathContext/XPathContext.xs,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- XPathContext.xs 23 Mar 2003 20:00:10 -0000 1.20 +++ XPathContext.xs 24 Mar 2003 09:26:48 -0000 1.21 @@ -49,7 +49,7 @@ * **************************************************************** */ /* stores libxml errors into $@ */ -void +static void LibXML_error_handler(void * ctxt, const char * msg, ...) { va_list args; @@ -78,8 +78,8 @@ /* Stores pnode in context node-pool hash table in order to preserve */ /* at least one reference. */ /* If pnode is NULL, only return current value for hashkey */ -static -SV* LibXML_XPathContext_pool ( xmlXPathContextPtr ctxt, int hashkey, SV * pnode ) { +static SV* +LibXML_XPathContext_pool ( xmlXPathContextPtr ctxt, int hashkey, SV * pnode ) { SV ** value; HV * pool; SV * key; @@ -113,7 +113,7 @@ } /* convert perl result structures to LibXML structures */ -xmlXPathObjectPtr +static xmlXPathObjectPtr LibXML_perldata_to_LibXMLdata(xmlXPathParserContextPtr ctxt, SV* perl_result) { if (!SvOK(perl_result)) { |