From c3dd99471f54bfaa9278c4a82871c2faafd3e037 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Mon, 21 May 2012 12:33:12 -0700 Subject: [PATCH] fixup EOL whitespace --- main.cc | 14 +++++++------- schedule.cc | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/main.cc b/main.cc index 741ef77..c5b6028 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 e9f6cbb..1791605 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) { } -- 2.34.1