From d05090827f0e5b95cc7d2bcdde8b3b4e0f986241 Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Thu, 1 May 2003 19:03:14 +0000 Subject: Back out the `hiding' of strlcpy and strlcat. Several people vocally objected to this safety belt. --- lib/libc/gen/confstr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/libc/gen/confstr.c') diff --git a/lib/libc/gen/confstr.c b/lib/libc/gen/confstr.c index 2885afd3bd38..966c3fe2ae19 100644 --- a/lib/libc/gen/confstr.c +++ b/lib/libc/gen/confstr.c @@ -37,14 +37,13 @@ static char sccsid[] = "@(#)confstr.c 8.1 (Berkeley) 6/4/93"; #include __FBSDID("$FreeBSD$"); -#include "namespace.h" #include + #include #include #include #include #include -#include "un-namespace.h" size_t @@ -115,7 +114,7 @@ confstr(int name, char *buf, size_t len) docopy: if (len != 0 && buf != NULL) - _strlcpy(buf, p, len); + strlcpy(buf, p, len); return (strlen(p) + 1); default: -- cgit v1.2.3