4.3.10. __attribute__((unused))

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.


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


static int Function_Attributes_unused_0(int b) __attribute__ ((unused));
Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A