diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2001-07-23 21:58:57 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2001-07-23 21:58:57 +0000 |
| commit | 3bc90e2144ce7163fe6b7c01e505f33e81bd2a03 (patch) | |
| tree | 315c0af42b381e7b728baf710f12ccfcba7109f2 /src | |
| parent | 61168ee200f5302217486a536e0d359ad500f897 (diff) | |
| download | krb5-3bc90e2144ce7163fe6b7c01e505f33e81bd2a03.tar.gz krb5-3bc90e2144ce7163fe6b7c01e505f33e81bd2a03.tar.xz krb5-3bc90e2144ce7163fe6b7c01e505f33e81bd2a03.zip | |
* setenv.c (setenv): Include stdlib.h for malloc prototypes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13626 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/bsd/ChangeLog | 4 | ||||
| -rw-r--r-- | src/appl/bsd/setenv.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <epeisach@mit.edu> + + * setenv.c (setenv): Include stdlib.h for malloc prototypes. + 2001-07-14 Ken Raeburn <raeburn@mit.edu> * 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 <sys/types.h> #include <stdio.h> +#include <stdlib.h> #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; |
