For internal use only.
This header file defines a number of macros to attach useful GCC attributes to various function and variable declarations.
Definition in file gcc-attrs.h.
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | _GCA_PREREQ(maj, min) |
Compact GCC version into a single number. | |
#define | _gca_noreturn |
Function does not return. | |
#define | _gca_const |
Function has no side effects. | |
#define | _gca_unused |
Function or variable may be unused. | |
#define | _gca_pure |
Function has no side-effects. | |
#define | _gca_nonnull(args) |
Function argument(s) may not be NULL . | |
#define | _gca_deprecated |
Function is deprecated. | |
#define | _gca_useresult |
Function return value must be examined. |
|
For internal use only.
This macro is used to mark that a given function has no side-effects and does not examine any global variables; it may be used to hint that the function call may be optimized away. See the GCC documentation for the Definition at line 77 of file gcc-attrs.h. |
|
For internal use only.
This attribute marks that the function has been deprecated. GCC will emit a warning if the function is used by the user. For more information, see the GCC documentation for the Definition at line 158 of file gcc-attrs.h. |
|
For internal use only.
This function attribute is used to indicate that certain function arguments may not be
Definition at line 157 of file gcc-attrs.h. |
|
For internal use only.
This macro is used to mark that a given function will not return to its caller. See the GCC documentation for the Definition at line 76 of file gcc-attrs.h. |
|
For internal use only. This macro is used to determine whether this version of GCC happens to implement a given feature.
Definition at line 49 of file gcc-attrs.h. |
|
For internal use only.
This attribute is like _gca_const, except that a function marked with _gca_pure may examine global variables. For more information, see the GCC documentation for the Definition at line 109 of file gcc-attrs.h. |
|
For internal use only.
GCC warns if a static function or variable appears to be unused. This attribute drops that warning. Its primary use in this package is to force the RCS Id tag to be embedded in the binary. See the GCC documentation for the Definition at line 94 of file gcc-attrs.h. |
|
For internal use only.
This attribute is used to indicate that the function return value must be examined, e.g., for an error indication. For more information, see the GCC documentation for the Definition at line 159 of file gcc-attrs.h. |