Add a __always_inline

This commit is contained in:
dsl 2012-06-02 21:27:51 +00:00
parent b0ba536ed5
commit d50a2c9fa0

View File

@ -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