Always declare malloc, realloc, etc, to be void *.
From-SVN: r5663
This commit is contained in:
parent
1d445e9e5e
commit
8d4750f117
@ -57,10 +57,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
include these in the sources since other machines might define them
|
||||
differently. */
|
||||
|
||||
#ifdef __STDC__
|
||||
extern void *malloc (), *realloc (), *sbrk (), *calloc (), *alloca ();
|
||||
#else
|
||||
extern char *malloc (), *realloc (), *sbrk (), *calloc (), *alloca ();
|
||||
#endif
|
||||
|
||||
#include "string.h"
|
||||
|
Loading…
Reference in New Issue
Block a user