Changeset 7dd98b6 for libcfa/prelude
- Timestamp:
- Nov 3, 2021, 11:47:32 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- a1574e2
- Parents:
- 3eb540fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/prelude/bootloader.cf
r3eb540fb r7dd98b6 3 3 char ** cfa_args_argv; 4 4 char ** cfa_args_envp; 5 int cfa_main_returned = 0;5 __attribute__((weak)) extern int cfa_main_returned; 6 6 7 7 int main(int argc, char* argv[], char* envp[]) { … … 10 10 cfa_args_envp = envp; 11 11 int ret = invoke_main(argc, argv, envp); 12 cfa_main_returned = 1;12 if(&cfa_main_returned) cfa_main_returned = 1; 13 13 return ret; 14 14 }
Note: See TracChangeset
for help on using the changeset viewer.