fix some middle-of-C-block variable declrations
This commit is contained in:
parent
1e9aa3b132
commit
5ce13a34b7
|
@ -369,8 +369,10 @@ ptr_t GC_approx_sp(void)
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma warning(disable:4172)
|
# pragma warning(disable:4172)
|
||||||
# endif
|
# endif
|
||||||
ptr_t addr = ((ptr_t)(&dummy));
|
{
|
||||||
return addr;
|
ptr_t addr = ((ptr_t)(&dummy));
|
||||||
|
return addr;
|
||||||
|
}
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma warning(default:4172)
|
# pragma warning(default:4172)
|
||||||
# endif
|
# endif
|
||||||
|
|
|
@ -164,8 +164,10 @@ ptr_t GC_build_fl(struct hblk *h, size_t sz, GC_bool clear, ptr_t list)
|
||||||
* put p (which is now head of list of objects in *h) as first
|
* put p (which is now head of list of objects in *h) as first
|
||||||
* pointer in the appropriate free list for this size.
|
* pointer in the appropriate free list for this size.
|
||||||
*/
|
*/
|
||||||
word *tmp = (word *)h->hb_body;
|
{
|
||||||
obj_link(tmp) = list;
|
word *tmp = (word *)h->hb_body;
|
||||||
|
obj_link(tmp) = list;
|
||||||
|
}
|
||||||
return ((ptr_t)p);
|
return ((ptr_t)p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user