Source-Changes-HG archive

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

[src/trunk]: src/include __BEGIN_DECLS/__END_DECLS



details:   https://anonhg.NetBSD.org/src/rev/bd5d10f72f9b
branches:  trunk
changeset: 786245:bd5d10f72f9b
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Apr 21 18:41:32 2013 +0000

description:
__BEGIN_DECLS/__END_DECLS

diffstat:

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

diffs (20 lines):

diff -r c6b2e77e7214 -r bd5d10f72f9b include/string.h
--- a/include/string.h  Sun Apr 21 17:54:56 2013 +0000
+++ b/include/string.h  Sun Apr 21 18:41:32 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: string.h,v 1.42 2013/04/19 23:28:47 joerg Exp $        */
+/*     $NetBSD: string.h,v 1.43 2013/04/21 18:41:32 joerg Exp $        */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -119,8 +119,10 @@
 typedef struct _locale         *locale_t;
 #  define __LOCALE_T_DECLARED
 #  endif
+__BEGIN_DECLS
 int     strcoll_l(const char *, const char *, locale_t);
 size_t  strxfrm_l(char * __restrict, const char * __restrict, size_t, locale_t);
+__END_DECLS
 #endif /* _POSIX_C_SOURCE || _NETBSD_SOURCE */
 
 #if _FORTIFY_SOURCE > 0



Home | Main Index | Thread Index | Old Index