summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortron <tron@NetBSD.org>2013-11-06 21:33:12 +0000
committertron <tron@NetBSD.org>2013-11-06 21:33:12 +0000
commitb5dddac87a5d8aa9b1678e8746415ae2523016c8 (patch)
treeb475fe3f19a768e95e149426f437e8b801a5f505 /include
parente71259a81795b64e9c35220db8576888ec94334f (diff)
Add missing declarations for SSP versions of stpcpy(3) and stpncpy(3).
Diffstat (limited to 'include')
-rw-r--r--include/ssp/string.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ssp/string.h b/include/ssp/string.h
index 1e8baa7bd20..b3473632f02 100644
--- a/include/ssp/string.h
+++ b/include/ssp/string.h
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.6 2013/11/06 16:31:24 christos Exp $ */
+/* $NetBSD: string.h,v 1.7 2013/11/06 21:33:12 tron Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -82,6 +82,8 @@ __BEGIN_DECLS
__ssp_bos_icheck3_restrict(memcpy, void *, const void *)
__ssp_bos_icheck3(memmove, void *, const void *)
__ssp_bos_icheck3(memset, void *, int)
+__ssp_bos_icheck2_restrict(stpcpy, char *, const char *)
+__ssp_bos_icheck3_restrict(stpncpy, char *, const char *)
__ssp_bos_icheck2_restrict(strcpy, char *, const char *)
__ssp_bos_icheck2_restrict(strcat, char *, const char *)
__ssp_bos_icheck3_restrict(strncpy, char *, const char *)