X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fnote.c;h=c6fb9e30673de6862aeea9791b49a1de7f7bbe5d;hb=b4c2abcfcb90bd41a1e52094c61b16566cfc8ff4;hp=4443da29045f7cea460146b6f47d90e555905b1b;hpb=bdf47fdee469d5a1d7ddfd06a0e4b26f3b40b0f4;p=gedcom-parse.git diff --git a/gom/note.c b/gom/note.c index 4443da2..c6fb9e3 100644 --- a/gom/note.c +++ b/gom/note.c @@ -99,7 +99,7 @@ void note_subscribe() gedcom_subscribe_to_element(ELT_SUB_CONC, sub_cont_conc_start, def_elt_end); } -void note_add_to_note(NL_TYPE type, Gom_ctxt ctxt, char* str) +void note_add_to_note(NL_TYPE type, Gom_ctxt ctxt, const char* str) { struct note *note = SAFE_CTXT_CAST(note, ctxt); if (note) { @@ -125,7 +125,7 @@ void note_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref) LINK_CHAIN_ELT(user_ref_number, note->ref, ref); } -void note_set_record_id(Gom_ctxt ctxt, char *rin) +void note_set_record_id(Gom_ctxt ctxt, const char *rin) { struct note *note = SAFE_CTXT_CAST(note, ctxt); if (note) { @@ -171,7 +171,7 @@ struct note* gom_get_first_note() return gom_first_note; } -struct note* make_note_record(char* xrefstr) +struct note* make_note_record(const char* xrefstr) { struct note* note = NULL; MAKE_CHAIN_ELT(note, gom_first_note, note);