Index: trunk/src/sch-rnd/build_run.c =================================================================== --- trunk/src/sch-rnd/build_run.c (revision 3925) +++ trunk/src/sch-rnd/build_run.c (revision 3926) @@ -43,7 +43,7 @@ extern void sch_rnd_main_uninit(void); -void csch_quit_app(void) +void sch_rnd_quit_app(void) { /* save data if necessary. It not needed, then don't trigger EmergencySave * via our atexit() registering of csch_emergency_save(). We presumably wanted to @@ -58,7 +58,7 @@ rnd_gui->do_exit(rnd_gui); } -char *csch_get_info_program(void) +char *sch_rnd_get_info_program(void) { static gds_t info; static int first_time = 1; @@ -74,7 +74,7 @@ return info.array; } -char *csch_get_info_copyright(void) +char *sch_rnd_get_info_copyright(void) { static gds_t info; static int first_time = 1; @@ -90,7 +90,7 @@ return info.array; } -char *csch_get_info_websites(const char **url_out) +char *sch_rnd_get_info_websites(const char **url_out) { static gds_t info; static int first_time = 1; @@ -110,7 +110,7 @@ return info.array; } -char *csch_get_info_comments(void) +char *sch_rnd_get_info_comments(void) { static gds_t info; static int first_time = 1; @@ -120,9 +120,9 @@ first_time = 0; gds_init(&info); - tmp = csch_get_info_program(); + tmp = sch_rnd_get_info_program(); gds_append_str(&info, tmp); - tmp = csch_get_info_websites(NULL); + tmp = sch_rnd_get_info_websites(NULL); gds_append_str(&info, tmp); } return info.array; @@ -129,7 +129,7 @@ } -char *csch_get_info_compile_options(void) +char *sch_rnd_get_info_compile_options(void) { rnd_hid_t **hids; int i; @@ -190,7 +190,7 @@ return info.array; } -char *csch_get_info_license(void) +char *sch_rnd_get_info_license(void) { static gds_t info; static int first_time = 1; Index: trunk/src/sch-rnd/build_run.h =================================================================== --- trunk/src/sch-rnd/build_run.h (revision 3925) +++ trunk/src/sch-rnd/build_run.h (revision 3926) @@ -29,25 +29,25 @@ #ifndef PCB_BUILD_RUN_H #define PCB_BUILD_RUN_H -void csch_quit_app(void); +void sch_rnd_quit_app(void); /* Returns a string that has a bunch of information about this program. */ -char *csch_get_info_program(void); +char *sch_rnd_get_info_program(void); /* Returns a string that has a bunch of information about the copyrights. */ -char *csch_get_info_copyright(void); +char *sch_rnd_get_info_copyright(void); /* Returns a string about how the program is licensed. */ -char *csch_get_info_license(void); +char *sch_rnd_get_info_license(void); /* Returns a string that has a bunch of information about the websites. */ -char *csch_get_info_websites(const char **url_out); +char *sch_rnd_get_info_websites(const char **url_out); -/* Returns a string as the concatenation of csch_get_info_program() and csch_get_info_websites() */ -char *csch_get_info_comments(void); +/* Returns a string as the concatenation of sch_rnd_get_info_program() and sch_rnd_get_info_websites() */ +char *sch_rnd_get_info_comments(void); /* Returns a string that has a bunch of information about the options selected at compile time. */ -char *csch_get_info_compile_options(void); +char *sch_rnd_get_info_compile_options(void); /* Author's name: either from the config system (typically from the design) or as a last resort from the OS */ Index: trunk/src/sch-rnd/file_act.c =================================================================== --- trunk/src/sch-rnd/file_act.c (revision 3925) +++ trunk/src/sch-rnd/file_act.c (revision 3926) @@ -52,7 +52,7 @@ TODO("need to check all sheets, not just the current one") if (!sheet->changed || (rnd_hid_message_box(RND_ACT_HIDLIB, "warning", "Close: lose data", "Exiting sch-rnd will lose unsaved sheet modifications.", "cancel", 0, "ok", 1, NULL) == 1)) - csch_quit_app(); + sch_rnd_quit_app(); RND_ACT_IRES(-1); return 0; Index: trunk/src/sch-rnd/main_act.c =================================================================== --- trunk/src/sch-rnd/main_act.c (revision 3925) +++ trunk/src/sch-rnd/main_act.c (revision 3926) @@ -172,7 +172,7 @@ static const char csch_acth_PrintVersion[] = "Print version."; fgw_error_t csch_act_PrintVersion(fgw_arg_t *res, int argc, fgw_arg_t *argv) { - printf("%s\n", csch_get_info_program()); + printf("%s\n", sch_rnd_get_info_program()); RND_ACT_IRES(0); return 0; } @@ -191,8 +191,8 @@ static const char csch_acth_PrintCopyright[] = "Print copyright notice."; fgw_error_t csch_act_PrintCopyright(fgw_arg_t *res, int argc, fgw_arg_t *argv) { - printf("%s\n", csch_get_info_copyright()); - printf("%s\n", csch_get_info_license()); + printf("%s\n", sch_rnd_get_info_copyright()); + printf("%s\n", sch_rnd_get_info_license()); printf(" This program is free software; you can redistribute it and/or modify\n" " it under the terms of the GNU General Public License as published by\n"