[commit: ghc] master: rts: delint/detab/dewhitespace EventLog.c (34d7d25)

git at git.haskell.org git at git.haskell.org
Mon Jul 28 14:34:29 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/34d7d2587e5e30d573e38a52cfaa811b2aa59f82/ghc

>---------------------------------------------------------------

commit 34d7d2587e5e30d573e38a52cfaa811b2aa59f82
Author: Austin Seipp <austin at well-typed.com>
Date:   Mon Jul 21 10:28:02 2014 -0500

    rts: delint/detab/dewhitespace EventLog.c
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


>---------------------------------------------------------------

34d7d2587e5e30d573e38a52cfaa811b2aa59f82
 rts/eventlog/EventLog.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c
index 4fd4b44..0080da6 100644
--- a/rts/eventlog/EventLog.c
+++ b/rts/eventlog/EventLog.c
@@ -248,7 +248,8 @@ initEventLogging(void)
         // We don't have a FMT* symbol for pid_t, so we go via Word64
         // to be sure of not losing range. It would be nicer to have a
         // FMT* symbol or similar, though.
-        sprintf(event_log_filename, "%s.%" FMT_Word64 ".eventlog", prog, (StgWord64)event_log_pid);
+        sprintf(event_log_filename, "%s.%" FMT_Word64 ".eventlog",
+                prog, (StgWord64)event_log_pid);
     }
     stgFree(prog);
 
@@ -303,8 +304,9 @@ initEventLogging(void)
             break;
 
         case EVENT_STOP_THREAD:     // (cap, thread, status)
-            eventTypes[t].size =
-                sizeof(EventThreadID) + sizeof(StgWord16) + sizeof(EventThreadID);
+            eventTypes[t].size = sizeof(EventThreadID)
+                               + sizeof(StgWord16)
+                               + sizeof(EventThreadID);
             break;
 
         case EVENT_STARTUP:         // (cap_count)
@@ -403,8 +405,9 @@ initEventLogging(void)
             break;
 
         case EVENT_TASK_CREATE:   // (taskId, cap, tid)
-            eventTypes[t].size =
-                sizeof(EventTaskId) + sizeof(EventCapNo) + sizeof(EventKernelThreadId);
+            eventTypes[t].size = sizeof(EventTaskId)
+                               + sizeof(EventCapNo)
+                               + sizeof(EventKernelThreadId);
             break;
 
         case EVENT_TASK_MIGRATE:   // (taskId, cap, new_cap)



More information about the ghc-commits mailing list