add common.h for common includes, macros, etc.

This commit is contained in:
Joel Dice 2007-06-02 19:56:57 -06:00
parent 3a2f478521
commit 253723b5cc

7
src/common.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef COMMON_H
#define COMMON_H
#define NO_RETURN __attribute__((noreturn))
#define UNLIKELY(v) __builtin_expect(v, 0)
#endif//COMMON_H