Skip to content

Commit 3ce0f6b

Browse files
committed
update for newlib > 2.0.0
1 parent 392bf4f commit 3ce0f6b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libogc/newlibc.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ int __libc_start_hook(lwp_cntrl *curr_thr,lwp_cntrl *start_thr)
2323
ptr = (struct _reent*)calloc(1,sizeof(struct _reent));
2424
if(!ptr) abort();
2525

26-
#ifdef __GNUC__
2726
_REENT_INIT_PTR((ptr));
28-
#endif
2927

3028
start_thr->libc_reent = ptr;
3129
return 1;
@@ -41,7 +39,6 @@ int __libc_delete_hook(lwp_cntrl *curr_thr, lwp_cntrl *delete_thr)
4139
ptr = (struct _reent*)delete_thr->libc_reent;
4240

4341
if(ptr && ptr!=&libc_globl_reent) {
44-
_wrapup_reent(ptr);
4542
_reclaim_reent(ptr);
4643
free(ptr);
4744
}

0 commit comments

Comments
 (0)