Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Do not wrap other header files with extern "C".
details: https://anonhg.NetBSD.org/src/rev/25a3315e0bc5
branches: trunk
changeset: 778923:25a3315e0bc5
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Apr 20 16:20:45 2012 +0000
description:
Do not wrap other header files with extern "C".
diffstat:
include/string.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 49259e7d3b9b -r 25a3315e0bc5 include/string.h
--- a/include/string.h Fri Apr 20 13:51:48 2012 +0000
+++ b/include/string.h Fri Apr 20 16:20:45 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.39 2009/07/22 19:48:27 kleink Exp $ */
+/* $NetBSD: string.h,v 1.40 2012/04/20 16:20:45 joerg Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -96,9 +96,11 @@
* strxfrm_l
*/
#endif
+__END_DECLS
#if defined(_NETBSD_SOURCE)
#include <strings.h> /* for backwards-compatibilty */
+__BEGIN_DECLS
void *memmem(const void *, size_t, const void *, size_t);
char *strcasestr(const char *, const char *);
size_t strlcat(char *, const char *, size_t);
@@ -107,8 +109,8 @@
char *stresep(char **, const char *, int);
char *strndup(const char *, size_t);
void *memrchr(const void *, int, size_t);
+__END_DECLS
#endif
-__END_DECLS
#if _FORTIFY_SOURCE > 0
#include <ssp/string.h>
Home |
Main Index |
Thread Index |
Old Index