X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcompiler%2F_info;h=fc9318f6d576115fee286f7ce630e0d83a563550;hb=3a7b8a8a8081ebbb6457527de376dec6264bc381;hp=c55ba22f086c320de70b4c5d21a0b56da825e16f;hpb=1c005e1223d2f8f664ce4b3be6cd7eb4dd449844;p=ccan diff --git a/ccan/compiler/_info b/ccan/compiler/_info index c55ba22f..fc9318f6 100644 --- a/ccan/compiler/_info +++ b/ccan/compiler/_info @@ -10,7 +10,7 @@ * For functions not called in fast paths (aka. cold functions) * - PRINTF_FMT * For functions which take printf-style parameters. - * - IDEMPOTENT + * - CONST_FUNCTION * For functions which return the same value for same parameters. * - NEEDED * For functions and variables which must be emitted even if unused. @@ -18,10 +18,10 @@ * For functions and variables which need not be emitted if unused. * - UNUSED * For parameters which are not used. - * - IS_COMPILE_CONSTANT + * - IS_COMPILE_CONSTANT() * For using different tradeoffs for compiletime vs runtime evaluation. * - * License: LGPL (3 or any later version) + * License: CC0 (Public domain) * Author: Rusty Russell * * Example: