diff options
Diffstat (limited to 'src/includes')
-rw-r--r-- | src/includes/rc-misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index 91e15895..12154b95 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -52,12 +52,16 @@ #define ERRX fprintf (stderr, "out of memory\n"); exit (1) +#define UNCONST(a) ((void *)(unsigned long)(const void *)(a)) + #ifdef lint # define _unused #endif #if __GNUC__ > 2 || defined(__INTEL_COMPILER) +# define _dead __attribute__((__noreturn__)) # define _unused __attribute__((__unused__)) #else +# define _dead # define _unused #endif |