diff options
Diffstat (limited to 'lib/libc/string/strdup.c')
-rw-r--r-- | lib/libc/string/strdup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/strdup.c b/lib/libc/string/strdup.c index a6aa1e03b0f..9aebf399c14 100644 --- a/lib/libc/string/strdup.c +++ b/lib/libc/string/strdup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strdup.c,v 1.6 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: strdup.c,v 1.7 2015/08/31 02:53:57 guenther Exp $ */ /* * Copyright (c) 1988, 1993 @@ -47,3 +47,4 @@ strdup(const char *str) (void)memcpy(copy, str, siz); return(copy); } +DEF_WEAK(strdup); |