X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/52b866481399dfcecd295560800d3e3fe0090f24..01c94fa1b6e5db0dd2b1c6d05f1f598c21fe493d:/common/util.h?ds=sidebyside diff --git a/common/util.h b/common/util.h index 1928c042..acdc0f6e 100644 --- a/common/util.h +++ b/common/util.h @@ -37,6 +37,18 @@ extern "C" { #endif +/*----- Macros ------------------------------------------------------------*/ + +/* --- @IGNORE@ --- * + * + * Arguments: @expr@ = an expression whose value is to be ignored + * + * Use: Ignores the value of an expression, even if compilers want + * us not to. + */ + +#define IGNORE(expr) do { if (expr) ; } while (0) + /*----- Functions provided ------------------------------------------------*/ /* --- @u_quotify@ --- *