From e2a2ec6016c9bb3f3146c701bbe950af212c097c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 21 Mar 1998 15:37:18 +0000 Subject: Switch to using a shared main() for all of the embedded BSPs based on the GNU tools. This usually involved correcting the type of bsp_start(), bsp_cleanup(), adjusting the start code to call the right start routine (the shared boot_card()), and then removing code from bsp_start() which was performed in the new boot_card()/main() path. --- c/src/lib/libbsp/m68k/efi332/start332/start332.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libbsp/m68k/efi332/start332/start332.c') diff --git a/c/src/lib/libbsp/m68k/efi332/start332/start332.c b/c/src/lib/libbsp/m68k/efi332/start332/start332.c index bd3a6cce06..914b3f5802 100644 --- a/c/src/lib/libbsp/m68k/efi332/start332/start332.c +++ b/c/src/lib/libbsp/m68k/efi332/start332/start332.c @@ -12,8 +12,6 @@ m68k_isr_entry vectors[256]; char * const __argv[]= {"main", ""}; char * const __env[]= {""}; -int main(const int argc, char * const argv[], char * const env[]); - /* * This prototype really should have the noreturn attribute but * that causes a warning since it appears that the routine does @@ -182,7 +180,9 @@ void dumby_start() { /* * Execute main with arguments argv and environment env */ - main(1, __argv, __env); + /* main(1, __argv, __env); */ + + boot_card(); reboot(); } -- cgit v1.2.3