Module Name: src
Committed By: joerg
Date: Wed Mar 18 21:02:47 UTC 2015
Modified Files:
src/sys/arch/arm/include: mcontext.h
Log Message:
Ensure _lwp_setcontext gets consistent language binding.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/include/mcontext.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/include/mcontext.h
diff -u src/sys/arch/arm/include/mcontext.h:1.16 src/sys/arch/arm/include/mcontext.h:1.17
--- src/sys/arch/arm/include/mcontext.h:1.16 Thu Aug 15 22:34:59 2013
+++ src/sys/arch/arm/include/mcontext.h Wed Mar 18 21:02:47 2015
@@ -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 @@ typedef struct {
#define __UCONTEXT_SIZE 256
#endif
+__BEGIN_DECLS
static __inline void *
__lwp_getprivate_fast(void)
{
@@ -146,5 +147,6 @@ __lwp_getprivate_fast(void)
void vfp_getcontext(struct lwp *, mcontext_t *, int *);
void vfp_setcontext(struct lwp *, const mcontext_t *);
#endif
+__END_DECLS
#endif /* !_ARM_MCONTEXT_H_ */