Changeset 6d5790d for libcfa/prelude


Ignore:
Timestamp:
Aug 7, 2023, 10:11:11 AM (17 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
3c82bf6
Parents:
76acb60
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/prelude/bootloader.cf

    r76acb60 r6d5790d  
    1 extern "C" { static inline int invoke_main(int argc, char* argv[], char* envp[]); }
     1extern "C" { static inline int invoke_main( int argc, char * argv[], char * envp[]); }
    22int cfa_args_argc;
    33char ** cfa_args_argv;
     
    55__attribute__((weak)) extern int cfa_main_returned;
    66
    7 int main(int argc, char* argv[], char* envp[]) {
     7int main( int argc, char * argv[], char * envp[] ) {
    88        cfa_args_argc = argc;
    99        cfa_args_argv = argv;
    1010        cfa_args_envp = envp;
    1111        int ret = invoke_main(argc, argv, envp);
    12         if(&cfa_main_returned) cfa_main_returned = 1;
     12        if( &cfa_main_returned ) cfa_main_returned = 1;
    1313        return ret;
    1414}
Note: See TracChangeset for help on using the changeset viewer.