fixup EOL whitespace
authorBrian Norris <banorris@uci.edu>
Mon, 21 May 2012 19:33:12 +0000 (12:33 -0700)
committerBrian Norris <banorris@uci.edu>
Mon, 21 May 2012 19:33:12 +0000 (12:33 -0700)
main.cc
schedule.cc

diff --git a/main.cc b/main.cc
index 741ef7775a8bffbb69a5065b5ec2d8613eebd0e6..c5b6028f27536551078a0447d0c57e4d1bb15542 100644 (file)
--- 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");
 }
 
index e9f6cbb9287e926cc6978524f864066c84ebc7f3..1791605b7c38842c37d11553c37f663c9dc88c38 100644 (file)
@@ -3,8 +3,8 @@
 #include "common.h"
 #include "model.h"
 
-Scheduler::Scheduler()
-current(NULL) 
+Scheduler::Scheduler() :
+       current(NULL)
 {
 }