Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Ensure _lwp_setcontext gets consistent ...



details:   https://anonhg.NetBSD.org/src/rev/00d2d21fa841
branches:  trunk
changeset: 806918:00d2d21fa841
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Mar 18 21:02:47 2015 +0000

description:
Ensure _lwp_setcontext gets consistent language binding.

diffstat:

 sys/arch/arm/include/mcontext.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r b71ae9679df8 -r 00d2d21fa841 sys/arch/arm/include/mcontext.h
--- a/sys/arch/arm/include/mcontext.h   Wed Mar 18 20:11:35 2015 +0000
+++ b/sys/arch/arm/include/mcontext.h   Wed Mar 18 21:02:47 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.16 2013/08/15 22:34:59 matt Exp $       */
+/*     $NetBSD: mcontext.h,v 1.17 2015/03/18 21:02:47 joerg Exp $      */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -120,6 +120,7 @@
 #define        __UCONTEXT_SIZE 256
 #endif
 
+__BEGIN_DECLS
 static __inline void *
 __lwp_getprivate_fast(void)
 {
@@ -146,5 +147,6 @@
 void vfp_getcontext(struct lwp *, mcontext_t *, int *);
 void vfp_setcontext(struct lwp *, const mcontext_t *); 
 #endif
+__END_DECLS
 
 #endif /* !_ARM_MCONTEXT_H_ */



Home | Main Index | Thread Index | Old Index