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