Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Allow use from C++.
details: https://anonhg.NetBSD.org/src/rev/935ed7dcab8b
branches: trunk
changeset: 786502:935ed7dcab8b
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Apr 30 00:42:31 2013 +0000
description:
Allow use from C++.
diffstat:
sys/sys/ctype_bits.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r db6b23f3e848 -r 935ed7dcab8b sys/sys/ctype_bits.h
--- a/sys/sys/ctype_bits.h Tue Apr 30 00:34:15 2013 +0000
+++ b/sys/sys/ctype_bits.h Tue Apr 30 00:42:31 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ctype_bits.h,v 1.4 2013/04/15 11:01:40 joerg Exp $ */
+/* $NetBSD: ctype_bits.h,v 1.5 2013/04/30 00:42:31 joerg Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -55,6 +55,7 @@
#define _CTYPE_T 0x1000 /* Special */
#define _CTYPE_Q 0x2000 /* Phonogram */
+__BEGIN_DECLS
extern const unsigned short *_ctype_tab_;
extern const short *_tolower_tab_;
extern const short *_toupper_tab_;
@@ -62,5 +63,6 @@
extern const unsigned short _C_ctype_tab_[];
extern const short _C_toupper_tab_[];
extern const short _C_tolower_tab_[];
+__END_DECLS
#endif /* !_SYS_CTYPE_BITS_H_ */
Home |
Main Index |
Thread Index |
Old Index