Skip to content
Snippets Groups Projects
Commit bb0ed354 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

rts: Make collectFreshWeakPtrs definition a prototype

x86-64/Darwin's toolchain inexplicably warns that collectFreshWeakPtrs
needs to be a prototype.
parent 9f63da66
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