You copied the Doc URL to your clipboard.

__attribute__((unused)) function attribute

The unused function attribute prevents the compiler from generating warnings if the function is not referenced. This does not change the behavior of the unused function removal process.

Note

This function attribute is a GNU compiler extension that is supported by the ARM compiler.

Example

static int Function_Attributes_unused_0(int b) __attribute__ ((unused));