[__STDC__ or _MSC_VER]:

Declare calloc and realloc to return void *.
This commit is contained in:
Richard M. Stallman
1997-01-03 01:24:27 +00:00
parent 01aed9a741
commit 8f047e5ecf

View File

@@ -21,8 +21,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
#include "system.h"
#if defined (__STDC__) || defined (_MSC_VER)
extern void *calloc ();
extern void *realloc ();
#else
extern char *calloc ();
extern char *realloc ();
#endif
extern void done ();
extern char *program_name;