Changeset 2473

Show
Ignore:
Timestamp:
08/19/07 11:07:34 (1 year ago)
Author:
paule
Message:

Fix xml_add_note_node() to take const char * parameters instead of char *

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/opie-sync/src/opie_xml.c

    r2471 r2473  
    648648} 
    649649 
    650 xmlNode *opie_xml_add_note_node(xmlDoc *doc, char *name, char *direntry, char *content) { 
     650xmlNode *opie_xml_add_note_node(xmlDoc *doc, const char *name, const char *direntry, const char *content) { 
    651651        xmlNode *notes_node = opie_xml_get_collection(doc, "notes"); 
    652652        if(!notes_node) { 
  • plugins/opie-sync/src/opie_xml.h

    r2471 r2473  
    6161xmlDoc *opie_xml_create_notes_doc(void); 
    6262xmlDoc *opie_xml_create_doc(OPIE_OBJECT_TYPE objtype); 
    63 xmlNode *opie_xml_add_note_node(xmlDoc *doc, char *name, char *direntry, char *content); 
     63xmlNode *opie_xml_add_note_node(xmlDoc *doc, const char *name, const char *direntry, const char *content); 
    6464 
    6565#endif