Fix wrong arg name in a C function prototype
authorDuncan Coutts <duncan@well-typed.com>
Thu, 2 Jun 2011 15:16:14 +0000 (16:16 +0100)
committerDuncan Coutts <duncan@well-typed.com>
Mon, 18 Jul 2011 15:31:14 +0000 (16:31 +0100)
rts/Sparks.h

index ea7d356..7db6018 100644 (file)
@@ -40,7 +40,7 @@ INLINE_HEADER StgClosure* reclaimSpark(SparkPool *pool);
 // if the pool is almost empty).
 INLINE_HEADER rtsBool looksEmpty(SparkPool* deque);
 
-INLINE_HEADER StgClosure * tryStealSpark (SparkPool *cap);
+INLINE_HEADER StgClosure * tryStealSpark (SparkPool *pool);
 INLINE_HEADER rtsBool      fizzledSpark  (StgClosure *);
 
 void         freeSparkPool     (SparkPool *pool);