mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
[__STDC__ or _MSC_VER]:
Declare calloc and realloc to return void *.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user