Module Name: src Committed By: dsl Date: Sat Jun 2 21:27:51 UTC 2012
Modified Files: src/sys/sys: cdefs.h Log Message: Add a __always_inline To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/sys/sys/cdefs.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/cdefs.h diff -u src/sys/sys/cdefs.h:1.98 src/sys/sys/cdefs.h:1.99 --- src/sys/sys/cdefs.h:1.98 Mon Apr 30 20:41:33 2012 +++ src/sys/sys/cdefs.h Sat Jun 2 21:27:51 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: cdefs.h,v 1.98 2012/04/30 20:41:33 pgoyette Exp $ */ +/* $NetBSD: cdefs.h,v 1.99 2012/06/02 21:27:51 dsl Exp $ */ /* * Copyright (c) 1991, 1993 @@ -232,6 +232,12 @@ #define __noinline /* nothing */ #endif +#if __GNUC_PREREQ__(3, 0) +#define __always_inline __attribute__((__always_inline__)) +#else +#define __always_inline /* nothing */ +#endif + #if __GNUC_PREREQ__(4, 1) #define __returns_twice __attribute__((__returns_twice__)) #else