Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
unused This attribute, attached to a function, means that the function is meant to be possibly unused. GCC will not produce a warning for this function.
I did not noticed any problem adding __attribute__((unused)) to functions.
Copyright © 2013, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds