Changeset 138

Show
Ignore:
Timestamp:
12/07/02 20:08:22 (6 years ago)
Author:
jajcus
Message:

- compiler warnings removed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libxode/src/xmlparse.c

    • Property svn:eol-style deleted
    • Property svn:keywords deleted
    r2 r138  
    191191static Processor cdataSectionProcessor; 
    192192static Processor epilogProcessor; 
    193 static Processor errorProcessor; 
     193/*static Processor errorProcessor;*/ 
    194194static Processor externalEntityInitProcessor; 
    195195static Processor externalEntityInitProcessor2; 
     
    23342334} 
    23352335 
    2336 static 
     2336/*static 
    23372337enum XML_Error errorProcessor(XML_Parser parser, 
    23382338                              const char *s, 
     
    23412341{ 
    23422342    return errorCode; 
    2343 } 
     2343}*/ 
    23442344 
    23452345static enum XML_Error 
     
    24842484                                const char *entityTextEnd) 
    24852485{ 
    2486     const ENCODING *internalEnc = ns ? XmlGetInternalEncodingNS() : XmlGetInternalEncoding(); 
     2486/*    const ENCODING *internalEnc = ns ? XmlGetInternalEncodingNS() : XmlGetInternalEncoding();*/ 
    24872487    STRING_POOL *pool = &(dtd.pool); 
    24882488    entityTextPtr += encoding->minBytesPerChar; 
  • trunk/libxode/src/xmltok.c

    • Property svn:eol-style deleted
    • Property svn:keywords deleted
    r2 r138  
    14921492        } 
    14931493    } 
    1494     *encPtr = encodingTable[INIT_ENC_INDEX(enc)]; 
     1494    *encPtr = encodingTable[(int)INIT_ENC_INDEX(enc)]; 
    14951495    return XmlTok(*encPtr, state, ptr, end, nextTokPtr); 
    14961496} 
  • trunk/libxode/src/xstream.c

    • Property svn:eol-style deleted
    • Property svn:keywords deleted
    r2 r138  
    1919 
    2020#include <libxode.h> 
     21#include <sys/types.h> 
     22#include <time.h> 
    2123 
    2224/* xstream is a way to have a consistent method of handling incoming XML Stream based events... it doesn't handle the generation of an XML Stream, but provides some facilities to help do that */