summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-10-05 22:07:28 +0000
committerobrien <obrien@FreeBSD.org>2002-10-05 22:07:28 +0000
commit09179563f938d65d9b49d7d729f8f04bcdb64bc7 (patch)
treebed77e89f8c9e47cf714b8fd404ab743f158e400 /include
parentd50e0d73925ffda0c718864acf3257ea0a98a9ed (diff)
downloadFreeBSD-src-09179563f938d65d9b49d7d729f8f04bcdb64bc7.zip
FreeBSD-src-09179563f938d65d9b49d7d729f8f04bcdb64bc7.tar.gz
Make stpcpy() only visiable w/in __BSD_VISIBLE.
Diffstat (limited to 'include')
-rw-r--r--include/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h
index d6951a8..2bb7598 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);
OpenPOWER on IntegriCloud