Added new macro CONST_CAST to avoid compiler warnings.

committer: mfx <mfx> 974103100 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-11-13 08:11:40 +00:00
parent 94071e4e5b
commit 7f3f4dad7d
3 changed files with 6 additions and 3 deletions
+4
View File
@@ -51,6 +51,10 @@ struct timex;
#include <linux/unistd.h>
#define CONST_CAST(type, var) \
((type) ((unsigned long) (var)))
/*************************************************************************
// constants and types
**************************************************************************/