From: John Kohl Date: Tue, 30 Apr 1991 11:28:28 +0000 (+0000) Subject: malloc() is already declared in include files X-Git-Tag: krb5-1.0-alpha5~38 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=699db9177eabf9e9f34b55da6c9ea034e664bb98;p=krb5.git malloc() is already declared in include files git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2063 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/posix/strdup.c b/src/lib/krb5/posix/strdup.c index d6926d672..ed2124164 100644 --- a/src/lib/krb5/posix/strdup.c +++ b/src/lib/krb5/posix/strdup.c @@ -29,7 +29,7 @@ strdup(str) const char *str; { int len; - char *copy, *malloc(); + char *copy; len = strlen(str) + 1; if (!(copy = malloc((u_int)len)))