From 103f8a93cb0eaaaecb05b03229a091a5f0a0f1fb Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 5 Oct 2002 22:07:28 +0000 Subject: [PATCH] Make stpcpy() only visiable w/in __BSD_VISIBLE. --- include/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/string.h b/include/string.h index d6951a8a3377..2bb759830622 100644 --- a/include/string.h +++ b/include/string.h @@ -68,7 +68,6 @@ char *strchr(const char *, int); int strcmp(const char *, const char *); int strcoll(const char *, const char *); char *strcpy(char * __restrict, const char * __restrict); -char *stpcpy(char *, const char *); size_t strcspn(const char *, const char *); char *strerror(int); size_t strlen(const char *); @@ -93,6 +92,7 @@ int strerror_r(int, char *, size_t); #endif #if __BSD_VISIBLE +char *stpcpy(char *, const char *); char *strcasestr(const char *, const char *); size_t strlcat(char *, const char *, size_t); size_t strlcpy(char *, const char *, size_t);