X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/e533c005b62f3e1016b5fb9a3b6973124480a54b..23df0e5b6d5dfe65beaf6fee394746bfbf574035:/common/util.h 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@ --- *