Include stdlib.h so we have the prototype for realloc. This means that we don't
assume realloc returns an int. This causes problems... This took me hours to find. Ok matthieu@.
This commit is contained in:
parent
f80be2c38a
commit
eb88ad3f01
@ -48,6 +48,8 @@
|
|||||||
* distinguishing each of the drafts.
|
* distinguishing each of the drafts.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
static int _Xthr_once_stub_(void *, void (*)(void));
|
static int _Xthr_once_stub_(void *, void (*)(void));
|
||||||
static int _Xthr_key_create_stub_(unsigned int *, void (*)(void *));
|
static int _Xthr_key_create_stub_(unsigned int *, void (*)(void *));
|
||||||
static int _Xthr_setspecific_stub_(unsigned int, const void *);
|
static int _Xthr_setspecific_stub_(unsigned int, const void *);
|
||||||
|
Loading…
Reference in New Issue
Block a user