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