X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcompiler%2F_info;h=fc9318f6d576115fee286f7ce630e0d83a563550;hb=e8fe775b03a9abde11f7ce7a9ebf8e002111e923;hp=b51d93a64122c8a98ba84466140563c0a79ffc70;hpb=8fc7a90a8db345c4276419d11f8731afc63f65f5;p=ccan diff --git a/ccan/compiler/_info b/ccan/compiler/_info index b51d93a6..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 (v3 or any later version) + * License: CC0 (Public domain) * Author: Rusty Russell * * Example: