Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include/ssp Add missing declarations for SSP versions of stp...



details:   https://anonhg.NetBSD.org/src/rev/cc32f50a9afa
branches:  trunk
changeset: 791147:cc32f50a9afa
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Nov 06 21:33:12 2013 +0000

description:
Add missing declarations for SSP versions of stpcpy(3) and stpncpy(3).

diffstat:

 include/ssp/string.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r b7c97ebd1f30 -r cc32f50a9afa include/ssp/string.h
--- a/include/ssp/string.h      Wed Nov 06 21:05:27 2013 +0000
+++ b/include/ssp/string.h      Wed Nov 06 21:33:12 2013 +0000
@@ -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 @@
 __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 *)



Home | Main Index | Thread Index | Old Index