Added new macro CONST_CAST to avoid compiler warnings.
committer: mfx <mfx> 974103100 +0000
This commit is contained in:
@@ -51,6 +51,10 @@ struct timex;
|
||||
#include <linux/unistd.h>
|
||||
|
||||
|
||||
#define CONST_CAST(type, var) \
|
||||
((type) ((unsigned long) (var)))
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
// constants and types
|
||||
**************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user