add rk_UNCONST that can be used to unconstify variables to avoid

api problems that -Wcast-qual will detect


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15410 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-06-16 16:39:42 +00:00
parent 9dc4717476
commit 601faffba8

View File

@@ -258,6 +258,8 @@
#define __attribute__(x)
#endif
#define rk_UNCONST(x) ((void *)(unsigned long)(const void *)(x))
ROKEN_CPP_START
#ifndef IRIX4 /* fix for compiler bug */