/* =============== main =============== */ int main( int argc, const char** argv ) { // DG: needed for Sys_ReLaunch() cmdargc = argc; cmdargv = argv; // DG end #ifdef ID_MCHECK // must have -lmcheck linkage mcheck( abrt_func ); Sys_Printf( "memory consistency checking enabled\n" ); #endif Posix_EarlyInit( ); if( argc > 1 ) { common->Init( argc - 1, &argv[1], NULL ); } else { common->Init( 0, NULL, NULL ); } Posix_LateInit( ); while( 1 ) { common->Frame(); } }
/* =============== main =============== */ int main( int argc, const char** argv ) { // DG: needed for Sys_ReLaunch() cmdargc = argc; cmdargv = argv; // DG end Posix_EarlyInit( ); if( argc > 1 ) { common->Init( argc - 1, &argv[1], NULL ); } else { common->Init( 0, NULL, NULL ); } Posix_LateInit( ); while( 1 ) { common->Frame(); } }
/* =============== main =============== */ int main( int argc, const char **argv ) { #ifdef ID_MCHECK // must have -lmcheck linkage mcheck( abrt_func ); Sys_Printf( "memory consistency checking enabled\n" ); #endif Posix_EarlyInit( ); if( argc > 1 ) { common->Init( argc - 1, &argv[1], NULL ); } else { common->Init( 0, NULL, NULL ); } Posix_LateInit( ); while( true ) { common->Frame(); } }