From: Brian Norris Date: Mon, 21 May 2012 19:33:12 +0000 (-0700) Subject: fixup EOL whitespace X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c3dd99471f54bfaa9278c4a82871c2faafd3e037;p=c11tester.git fixup EOL whitespace --- diff --git a/main.cc b/main.cc index 741ef777..c5b6028f 100644 --- a/main.cc +++ b/main.cc @@ -12,7 +12,7 @@ */ static int thread_system_next(void) { Thread *curr, *next; - + curr = thread_current(); if (curr) { if (curr->get_state() == THREAD_READY) { @@ -45,24 +45,24 @@ void real_main() { //Create the singleton snapshotStack object snapshotObject = new snapshotStack(); - + model = new ModelChecker(); - + if (getcontext(&main_context)) return; - + model->set_system_context(&main_context); do { /* Start user program */ model->add_thread(new Thread(&user_thread, (void (*)(void *)) &user_main, NULL)); - + /* Wait for all threads to complete */ thread_wait_finish(); } while (model->next_execution()); - + delete model; - + DEBUG("Exiting\n"); } diff --git a/schedule.cc b/schedule.cc index e9f6cbb9..1791605b 100644 --- a/schedule.cc +++ b/schedule.cc @@ -3,8 +3,8 @@ #include "common.h" #include "model.h" -Scheduler::Scheduler(): -current(NULL) +Scheduler::Scheduler() : + current(NULL) { }