newlib: Try to unify wrappers. And get rid of kos32sys.h

git-svn-id: svn://kolibrios.org@9874 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat
2022-09-01 19:19:27 +00:00
parent f86f8feb93
commit 6c347146ee
7 changed files with 78 additions and 94 deletions

View File

@@ -3,7 +3,7 @@
#include <_ansi.h>
#include <string.h>
#include <sys/reent.h>
#include <kos32sys.h>
#include <sys/ksys.h>
extern _VOID _EXFUN(__sinit,(struct _reent *));
@@ -11,7 +11,7 @@ void init_reent()
{
struct _reent *ent;
ent = user_alloc(sizeof(struct _reent));
ent = _ksys_alloc(sizeof(struct _reent));
_REENT_INIT_PTR_ZEROED(ent);