X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcompiler%2F_info;h=d60dff4d17bb0a50b691bb83097debdc94f38cf5;hp=c55ba22f086c320de70b4c5d21a0b56da825e16f;hb=291237b4fed863be74051274ac5ad9920cb33cc3;hpb=1c005e1223d2f8f664ce4b3be6cd7eb4dd449844 diff --git a/ccan/compiler/_info b/ccan/compiler/_info index c55ba22f..d60dff4d 100644 --- a/ccan/compiler/_info +++ b/ccan/compiler/_info @@ -1,6 +1,6 @@ +#include "config.h" #include #include -#include "config.h" /** * compiler - macros for common compiler extensions @@ -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: