projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eba2c7
)
malloc() is already declared in include files
author
John Kohl
<jtkohl@mit.edu>
Tue, 30 Apr 1991 11:28:28 +0000
(11:28 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Tue, 30 Apr 1991 11:28:28 +0000
(11:28 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2063
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/posix/strdup.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/posix/strdup.c
b/src/lib/krb5/posix/strdup.c
index d6926d6727282a002310e16660e846c5d4e014b9..ed212416489a32d5185ac2a46443f7f2532b148d 100644
(file)
--- 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)))