Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Make lwp_getpcb() C89-happy by using __inline.



details:   https://anonhg.NetBSD.org/src/rev/d5ec3ef16801
branches:  trunk
changeset: 749430:d5ec3ef16801
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sun Nov 29 16:23:49 2009 +0000

description:
Make lwp_getpcb() C89-happy by using __inline.

diffstat:

 sys/sys/lwp.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b09d151434f8 -r d5ec3ef16801 sys/sys/lwp.h
--- a/sys/sys/lwp.h     Sun Nov 29 16:00:00 2009 +0000
+++ b/sys/sys/lwp.h     Sun Nov 29 16:23:49 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lwp.h,v 1.126 2009/11/25 13:53:19 rmind Exp $  */
+/*     $NetBSD: lwp.h,v 1.127 2009/11/29 16:23:49 rmind Exp $  */
 
 /*-
  * Copyright (c) 2001, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -197,7 +197,7 @@
 #define        UAREA_TO_USER(uarea)    ((struct user *)((uarea) + UAREA_USER_OFFSET))
 #endif /* !defined(UAREA_TO_USER) */
 
-static inline void *
+static __inline void *
 lwp_getpcb(struct lwp *l)
 {
 



Home | Main Index | Thread Index | Old Index