Module Name: src Committed By: rmind Date: Sun Nov 29 16:23:49 UTC 2009
Modified Files: src/sys/sys: lwp.h Log Message: Make lwp_getpcb() C89-happy by using __inline. To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127 src/sys/sys/lwp.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/sys/lwp.h diff -u src/sys/sys/lwp.h:1.126 src/sys/sys/lwp.h:1.127 --- src/sys/sys/lwp.h:1.126 Wed Nov 25 13:53:19 2009 +++ src/sys/sys/lwp.h Sun Nov 29 16:23:49 2009 @@ -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) {