From: Ezra Peisach Date: Mon, 23 Jul 2001 21:58:57 +0000 (+0000) Subject: * setenv.c (setenv): Include stdlib.h for malloc prototypes X-Git-Tag: krb5-1.3-alpha1~1185 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3bc90e2144ce7163fe6b7c01e505f33e81bd2a03;p=krb5.git * setenv.c (setenv): Include stdlib.h for malloc prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13626 dc483132-0cff-0310-8789-dd5450dbe970 --- 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;