From: Brian Norris Date: Tue, 9 Oct 2012 01:34:35 +0000 (-0700) Subject: main: rename 'real_main()' to 'model_main()' X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=commitdiff_plain;h=28e1bf20ea2bc74d7376b7cd1bfce0fc409bcde9 main: rename 'real_main()' to 'model_main()' --- diff --git a/main.cc b/main.cc index 300306a4..853654cc 100644 --- a/main.cc +++ b/main.cc @@ -77,8 +77,8 @@ static void parse_options(struct model_params *params, int *argc, char ***argv) int main_argc; char **main_argv; -/** The real_main function contains the main model checking loop. */ -static void real_main() { +/** The model_main function contains the main model checking loop. */ +static void model_main() { thrd_t user_thread; struct model_params params; @@ -110,12 +110,12 @@ static void real_main() { /** * Main function. Just initializes snapshotting library and the - * snapshotting library calls the real_main function. + * snapshotting library calls the model_main function. */ int main(int argc, char ** argv) { main_argc = argc; main_argv = argv; /* Let's jump in quickly and start running stuff */ - initSnapshotLibrary(10000, 1024, 1024, 4000, &real_main); + initSnapshotLibrary(10000, 1024, 1024, 4000, &model_main); }