diff --git a/common/lib/libc/string/strlcat.c b/common/lib/libc/string/strlcat.c index 2348d6c499c2..b2d19f9180c4 100644 --- a/common/lib/libc/string/strlcat.c +++ b/common/lib/libc/string/strlcat.c @@ -1,4 +1,4 @@ -/* $NetBSD: strlcat.c,v 1.1 2005/12/20 19:28:52 christos Exp $ */ +/* $NetBSD: strlcat.c,v 1.2 2006/03/30 20:37:51 christos Exp $ */ /* $OpenBSD: strlcat.c,v 1.10 2003/04/12 21:56:39 millert Exp $ */ /* @@ -24,7 +24,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: strlcat.c,v 1.1 2005/12/20 19:28:52 christos Exp $"); +__RCSID("$NetBSD: strlcat.c,v 1.2 2006/03/30 20:37:51 christos Exp $"); #endif /* LIBC_SCCS and not lint */ #ifdef _LIBC @@ -53,11 +53,7 @@ __weak_alias(strlcat, _strlcat) * If retval >= siz, truncation occurred. */ size_t -#ifdef _LIBC -_strlcat(dst, src, siz) -#else strlcat(dst, src, siz) -#endif char *dst; const char *src; size_t siz; diff --git a/common/lib/libc/string/strlcpy.c b/common/lib/libc/string/strlcpy.c index c92cd473b634..338fa4bb4f0d 100644 --- a/common/lib/libc/string/strlcpy.c +++ b/common/lib/libc/string/strlcpy.c @@ -1,4 +1,4 @@ -/* $NetBSD: strlcpy.c,v 1.1 2005/12/20 19:28:52 christos Exp $ */ +/* $NetBSD: strlcpy.c,v 1.2 2006/03/30 20:37:51 christos Exp $ */ /* $OpenBSD: strlcpy.c,v 1.7 2003/04/12 21:56:39 millert Exp $ */ /* @@ -24,7 +24,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: strlcpy.c,v 1.1 2005/12/20 19:28:52 christos Exp $"); +__RCSID("$NetBSD: strlcpy.c,v 1.2 2006/03/30 20:37:51 christos Exp $"); #endif /* LIBC_SCCS and not lint */ #ifdef _LIBC @@ -51,11 +51,7 @@ __weak_alias(strlcpy, _strlcpy) * Returns strlen(src); if retval >= siz, truncation occurred. */ size_t -#ifdef _LIBC -_strlcpy(dst, src, siz) -#else strlcpy(dst, src, siz) -#endif char *dst; const char *src; size_t siz;