commit | a507d803b45a3dcbf2aa2bb215e81299db249646 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Wed Nov 30 14:35:39 2011 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Wed Nov 30 14:35:39 2011 -0200 |
tree | 5a1ae8ed37c18f54605a23cf650c4dce5f968449 | |
parent | 30be7513c0220944fad2e35288a70f176b22d129 [diff] [blame] |
Define temporary macros for importing index
diff --git a/libkmod/macro.h b/libkmod/macro.h index d09d664..6feea40 100644 --- a/libkmod/macro.h +++ b/libkmod/macro.h
@@ -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))