Index: build_run.c =================================================================== --- build_run.c (revision 1334) +++ build_run.c (revision 1335) @@ -39,17 +39,17 @@ extern void sch_rnd_main_uninit(void); -void sch_quit_app(void) +void csch_quit_app(void) { /* save data if necessary. It not needed, then don't trigger EmergencySave - * via our atexit() registering of sch_emergency_save(). We presumably wanted to + * via our atexit() registering of csch_emergency_save(). We presumably wanted to * exit here and thus it is not an emergency. */ TODO("implemnent this:"); #if 0 if (PCB->Changed && conf_core.editor.save_in_tmp) - sch_emergency_save(); + csch_emergency_save(); else - sch_disable_emergency_save(); + csch_disable_emergency_save(); #endif if (rnd_gui->do_exit == NULL) { @@ -61,10 +61,10 @@ } TODO("implement these in scconfig") -#define SCH_VERSION "" -#define SCH_REVISION "" +#define CSCH_VERSION "" +#define CSCH_REVISION "" -char *sch_get_info_program(void) +char *csch_get_info_program(void) { static gds_t info; static int first_time = 1; @@ -72,13 +72,13 @@ if (first_time) { first_time = 0; gds_init(&info); - gds_append_str(&info, "This is sch-rnd " SCH_VERSION " (" SCH_REVISION ")" "\nan interactive "); + gds_append_str(&info, "This is sch-rnd " CSCH_VERSION " (" CSCH_REVISION ")" "\nan interactive "); gds_append_str(&info, "schematics editor\nfrom the Ringdove EDA suite\ncompiled using librnd version " RND_VER_STR "\n"); } return info.array; } -char *sch_get_info_copyright(void) +char *csch_get_info_copyright(void) { static gds_t info; static int first_time = 1; @@ -94,7 +94,7 @@ return info.array; } -char *sch_get_info_websites(const char **url_out) +char *csch_get_info_websites(const char **url_out) { static gds_t info; static int first_time = 1; @@ -114,7 +114,7 @@ return info.array; } -char *sch_get_info_comments(void) +char *csch_get_info_comments(void) { static gds_t info; static int first_time = 1; @@ -124,9 +124,9 @@ first_time = 0; gds_init(&info); - tmp = sch_get_info_program(); + tmp = csch_get_info_program(); gds_append_str(&info, tmp); - tmp = sch_get_info_websites(NULL); + tmp = csch_get_info_websites(NULL); gds_append_str(&info, tmp); } return info.array; @@ -133,7 +133,7 @@ } -char *sch_get_info_compile_options(void) +char *csch_get_info_compile_options(void) { rnd_hid_t **hids; int i; @@ -194,7 +194,7 @@ return info.array; } -char *sch_get_info_license(void) +char *csch_get_info_license(void) { static gds_t info; static int first_time = 1; @@ -211,7 +211,7 @@ } /* Catches signals which abort the program. */ -void sch_catch_signal(int Signal) +void csch_catch_signal(int Signal) { const char *s;