Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include More __BEGIN_DECLS / __END_DECLS wrappers.
details: https://anonhg.NetBSD.org/src/rev/da01ebda936a
branches: trunk
changeset: 786208:da01ebda936a
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Apr 19 23:45:15 2013 +0000
description:
More __BEGIN_DECLS / __END_DECLS wrappers.
diffstat:
include/wchar.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 85b1f7c6f2be -r da01ebda936a include/wchar.h
--- a/include/wchar.h Fri Apr 19 23:42:26 2013 +0000
+++ b/include/wchar.h Fri Apr 19 23:45:15 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wchar.h,v 1.36 2013/04/19 23:32:16 joerg Exp $ */
+/* $NetBSD: wchar.h,v 1.37 2013/04/19 23:45:15 joerg Exp $ */
/*-
* Copyright (c)1999 Citrus Project,
@@ -211,6 +211,7 @@
typedef struct _locale *locale_t;
# define __LOCALE_T_DECLARED
# endif
+__BEGIN_DECLS
int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);
size_t wcsxfrm_l(wchar_t *, const wchar_t *, size_t, locale_t);
int wcsncasecmp_l(const wchar_t *, const wchar_t *, size_t, locale_t);
@@ -232,9 +233,11 @@
wchar_t ** __restrict, int, locale_t);
int wcwidth_l(wchar_t, locale_t);
int wcswidth_l(const wchar_t *, size_t, locale_t);
+__END_DECLS
#endif /* _POSIX_C_SOURCE || _NETBSD_SOURCE */
#if defined(_NETBSD_SOURCE)
+__BEGIN_DECLS
wint_t btowc_l(int, locale_t);
size_t mbrlen_l(const char * __restrict, size_t, mbstate_t * __restrict,
locale_t);
@@ -267,6 +270,7 @@
int vswscanf_l(const wchar_t * __restrict, locale_t, const wchar_t * __restrict,
__va_list);
int vwscanf_l(locale_t, const wchar_t * __restrict, __va_list);
+__END_DECLS
#endif /* _NETBSD_SOURCE */
#endif /* !_WCHAR_H_ */
Home |
Main Index |
Thread Index |
Old Index