Skip to content
Snippets Groups Projects
Commit 2b3da4c4 authored by Ben Gamari's avatar Ben Gamari
Browse files

rts: Make collectFreshWeakPtrs definition a prototype

x86-64/Darwin's toolchain inexplicably warns that collectFreshWeakPtrs
needs to be a prototype.

(cherry picked from commit bb0ed354)
parent 76668b6e
No related branches found
No related tags found
No related merge requests found
......@@ -457,7 +457,7 @@ static void checkWeakPtrSanity(StgWeak *hd, StgWeak *tl)
* Traverse the capabilities' local new-weak-pointer lists at the beginning of
* GC and move them to the nursery's weak_ptr_list.
*/
void collectFreshWeakPtrs()
void collectFreshWeakPtrs( void )
{
uint32_t i;
// move recently allocated weak_ptr_list to the old list as well
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment