changeset 789:464a531122ab

loadtools: some paths moved out of defpath.c
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 23:55:32 +0000
parents f3fc782b5e88
children 0bbe0213812d
files loadtools/bpmain.c loadtools/defpath.c loadtools/lthelp.c loadtools/romdump.c
diffstat 4 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/loadtools/bpmain.c	Sun Mar 14 00:07:25 2021 +0000
+++ b/loadtools/bpmain.c	Sun Mar 14 23:55:32 2021 +0000
@@ -11,8 +11,9 @@
 
 char *target_ttydev;
 
+char default_buzplayer_image[] = "/opt/freecalypso/target-bin/buzplayer.srec";
+
 extern struct srecreader iramimage;
-extern char default_buzplayer_image[];
 extern void (*default_exit)();
 
 extern struct baudrate *find_baudrate_by_name();
--- a/loadtools/defpath.c	Sun Mar 14 00:07:25 2021 +0000
+++ b/loadtools/defpath.c	Sun Mar 14 23:55:32 2021 +0000
@@ -7,6 +7,3 @@
 char default_helpers_dir[] = "/opt/freecalypso/loadtools";
 char default_compalstage_dir[] = "/opt/freecalypso/target-bin";
 char default_loadagent_image[] = "/opt/freecalypso/target-bin/loadagent.srec";
-char default_buzplayer_image[] = "/opt/freecalypso/target-bin/buzplayer.srec";
-char default_dspdump_image[] = "/opt/freecalypso/target-bin/dspdump.srec";
-char loadtool_help_file[] = "/opt/freecalypso/helpfiles/loadtool.help";
--- a/loadtools/lthelp.c	Sun Mar 14 00:07:25 2021 +0000
+++ b/loadtools/lthelp.c	Sun Mar 14 23:55:32 2021 +0000
@@ -8,7 +8,7 @@
 #include <strings.h>
 #include <stdlib.h>
 
-extern char loadtool_help_file[];
+char loadtool_help_file[] = "/opt/freecalypso/helpfiles/loadtool.help";
 
 loadtool_help(topic)
 	char *topic;
--- a/loadtools/romdump.c	Sun Mar 14 00:07:25 2021 +0000
+++ b/loadtools/romdump.c	Sun Mar 14 23:55:32 2021 +0000
@@ -14,8 +14,9 @@
 
 char *target_ttydev;
 
+char default_dspdump_image[] = "/opt/freecalypso/target-bin/dspdump.srec";
+
 extern struct srecreader iramimage;
-extern char default_dspdump_image[];
 extern struct baudrate *current_baud_rate;
 extern void (*default_exit)();