[Git][ghc/ghc][wip/gc/misc-rts] rts: Fix linter issues

Ben Gamari gitlab at gitlab.haskell.org
Tue Jun 18 23:20:06 UTC 2019



Ben Gamari pushed to branch wip/gc/misc-rts at Glasgow Haskell Compiler / GHC


Commits:
48a9e44c by Ben Gamari at 2019-06-18T23:19:42Z
rts: Fix linter issues

- - - - -


1 changed file:

- rts/Capability.c


Changes:

=====================================
rts/Capability.c
=====================================
@@ -847,7 +847,7 @@ void waitForCapability (Capability **pCap, Task *task)
  *
  * ------------------------------------------------------------------------- */
 
-#if defined (THREADED_RTS)
+#if defined(THREADED_RTS)
 
 /* See Note [GC livelock] in Schedule.c for why we have gcAllowed
    and return the bool */
@@ -953,7 +953,7 @@ yieldCapability (Capability** pCap, Task *task, bool gcAllowed)
  * get every Capability into the GC.
  * ------------------------------------------------------------------------- */
 
-#if defined (THREADED_RTS)
+#if defined(THREADED_RTS)
 
 void
 prodCapability (Capability *cap, Task *task)
@@ -975,7 +975,7 @@ prodCapability (Capability *cap, Task *task)
  *
  * ------------------------------------------------------------------------- */
 
-#if defined (THREADED_RTS)
+#if defined(THREADED_RTS)
 
 bool
 tryGrabCapability (Capability *cap, Task *task)



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/48a9e44cc989895d7eb9bb2146361756d88beafc

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/48a9e44cc989895d7eb9bb2146361756d88beafc
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190618/ada2b22b/attachment.html>


More information about the ghc-commits mailing list