From 699db9177eabf9e9f34b55da6c9ea034e664bb98 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 30 Apr 1991 11:28:28 +0000 Subject: [PATCH] malloc() is already declared in include files git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2063 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/posix/strdup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.26.2