* setenv.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27221
138bc75d-0d04-0410-961f-
82ee72b054a4
+1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * putenv.c: Include ansidecl.h to define `const'.
+ * setenv.c: Likewise.
+
Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
* Makefile.in (CFILES): Add putenv.c and setenv.c.
# include <config.h>
#endif
+#include "ansidecl.h"
+
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif
if (name_end)
{
- char *name = alloca (name_end - string + 1);
+ char *name = (char *) alloca (name_end - string + 1);
memcpy (name, string, name_end - string);
name[name_end - string] = '\0';
return setenv (name, name_end + 1, 1);
# include <config.h>
#endif
+#include "ansidecl.h"
+
#include <errno.h>
#if !defined(errno) && !defined(HAVE_ERRNO_DECL)
extern int errno;