summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r--mdk-stage1/tools.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index dbbd45772..59d4a1ddf 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -228,7 +228,8 @@ int ramdisk_possible(void)
}
-enum return_type copy_file(char * from, char * to, void (*callback_func)(int overall))
+
+ enum return_type copy_file(char * from, char * to, void (*callback_func)(int overall))
{
FILE * f_from, * f_to;
size_t quantity __attribute__((aligned(16))), overall = 0;
@@ -276,7 +277,7 @@ enum return_type copy_file(char * from, char * to, void (*callback_func)(int ove
return ret;
}
-static void save_stuff_for_rescue(void)
+void save_stuff_for_rescue(void)
{
copy_file("/etc/resolv.conf", STAGE2_LOCATION "/etc/resolv.conf", NULL);
}