Define temporary macros for importing index

This commit is contained in:
Lucas De Marchi 2011-11-30 14:35:39 -02:00
parent 30be7513c0
commit a507d803b4

View File

@ -71,6 +71,10 @@
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + _array_size_chk(arr))
/* Temporaries for importing index handling */
#define NOFAIL(x) (x)
#define fatal(x...) do { } while (0)
/* Attributes */
#define __must_check __attribute__((warn_unused_result))