Some const correctness.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 25 Jan 2003 14:16:21 +0000 (14:16 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 25 Jan 2003 14:16:21 +0000 (14:16 +0000)
gedcom/compat.c
gedcom/compat.h

index 1d882dc1ef0da1177b191737016652010cc8dcc7..ffb127c803264dcadfd4abe64b26688f08d8cecb 100644 (file)
@@ -142,7 +142,7 @@ void set_compatibility_version(const char* version)
     
     result = sscanf(version, " %u.%u.%u", &major, &minor, &patch);
     if (result > 0) {
-      gedcom_debug_print(_("Setting compat version to %u.%u.%u"),
+      gedcom_debug_print("Setting compat version to %u.%u.%u",
                         major, minor, patch);
       compatibility_version = major * 10000 + minor * 100 + patch;
     }
@@ -438,7 +438,7 @@ int compat_check_subm_comm_cont(const char* tag)
     return 0;
 }
 
-Gedcom_ctxt compat_subm_comm_cont_start(Gedcom_ctxt parent, const char* str)
+Gedcom_ctxt compat_subm_comm_cont_start(Gedcom_ctxt parent, char* str)
 {
   Gedcom_ctxt self = NULL;
   struct tag_struct ts;
index 7a1b0977520fa36e84bc16dedc98337e0bc4d269..a901197c79aa438c42a79c0270e81179560db89c 100644 (file)
@@ -67,7 +67,7 @@ int  compat_check_subm_comm(const char* tag, const char* parent_tag,
                            struct safe_buffer* b);
 void compat_close_subm_comm();
 int  compat_check_subm_comm_cont(const char* tag);
-Gedcom_ctxt compat_subm_comm_cont_start(Gedcom_ctxt parent, const char* str);
+Gedcom_ctxt compat_subm_comm_cont_start(Gedcom_ctxt parent, char* str);
 void compat_subm_comm_cont_end(Gedcom_ctxt parent, Gedcom_ctxt self);
 
 #endif /* __COMPAT_H */