Optional struct _reent::_new::_unused
Rename struct _reent::_new::_unused members _nextf and _nmalloc to _reserved_3 and _reserved_4, respectively. Rename struct _reent::_new member _unused to _reserved_5. Provide them only if _REENT_BACKWARD_BINARY_COMPAT is defined. Remove unused _N_LISTS define.
This commit is contained in:
parent
84d8b9d1b3
commit
9035e406cb
|
@ -685,15 +685,13 @@ struct _reent
|
||||||
_mbstate_t _wcsrtombs_state;
|
_mbstate_t _wcsrtombs_state;
|
||||||
int _h_errno;
|
int _h_errno;
|
||||||
} _reent;
|
} _reent;
|
||||||
/* Two next two fields were once used by malloc. They are no longer
|
#ifdef _REENT_BACKWARD_BINARY_COMPAT
|
||||||
used. They are used to preserve the space used before so as to
|
|
||||||
allow addition of new reent fields and keep binary compatibility. */
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
#define _N_LISTS 30
|
unsigned char * _reserved_3[30];
|
||||||
unsigned char * _nextf[_N_LISTS];
|
unsigned int _reserved_4[30];
|
||||||
unsigned int _nmalloc[_N_LISTS];
|
} _reserved_5;
|
||||||
} _unused;
|
#endif
|
||||||
} _new;
|
} _new;
|
||||||
|
|
||||||
# ifndef _REENT_GLOBAL_ATEXIT
|
# ifndef _REENT_GLOBAL_ATEXIT
|
||||||
|
|
Loading…
Reference in New Issue