From 3bc90e2144ce7163fe6b7c01e505f33e81bd2a03 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 23 Jul 2001 21:58:57 +0000 Subject: [PATCH] * setenv.c (setenv): Include stdlib.h for malloc prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13626 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 4 ++++ src/appl/bsd/setenv.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index bd2356708..2c0d9846f 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,7 @@ +2001-07-23 Ezra Peisach + + * setenv.c (setenv): Include stdlib.h for malloc prototypes. + 2001-07-14 Ken Raeburn * v4rcp.c (kstream_create_rcp_from_fd, kstream_create_from_fd): diff --git a/src/appl/bsd/setenv.c b/src/appl/bsd/setenv.c index 7316edb54..d5d0110ce 100644 --- a/src/appl/bsd/setenv.c +++ b/src/appl/bsd/setenv.c @@ -19,6 +19,7 @@ #include #include +#include #ifdef NEED_SETENV extern int setenv(char *, char *, int); @@ -40,7 +41,6 @@ setenv(name, value, rewrite) static int alloced; /* if allocated space before */ register char *C; int l_value, offset; - char *malloc(), *realloc(); if (*value == '=') /* no `=' in value */ ++value; -- 2.26.2