Annotate unused variables

Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
Thomas Graf
2014-08-25 01:06:01 +02:00
parent e3d208905d
commit a36136ec4d
3 changed files with 4 additions and 2 deletions

View File

@ -60,9 +60,11 @@ enum {
#if defined __GNUC__
#define __init __attribute__ ((constructor))
#define __exit __attribute__ ((destructor))
#define __unused__ __attribute__ ((unused))
#else
#define __init
#define __exit
#define __unused__
#endif
#ifdef DEBUG