On Fri, 25 Oct 2013, Jukka Ruohonen wrote:
src/sys/sys: cdefs.h Log Message: Add __diagused and __debugused. These are for marking variables that are used only in diagnotic or debug code, but unused when NDEBUG is defined, or DIAGNOSTIC is not defined, or DEBUG is not defined.I tried to collect some of these to attribute(3), which might be worth updating (or not).
Thank you! I didn't know about attribute(3). --apb (Alan Barrett)