]> git.ozlabs.org Git - ccan/blobdiff - ccan/compiler/_info
ccan: Correct some poor conventions in _info includes
[ccan] / ccan / compiler / _info
index e42ebb0fb358114747405477d2fcc801727023c4..d60dff4d17bb0a50b691bb83097debdc94f38cf5 100644 (file)
@@ -1,6 +1,6 @@
+#include "config.h"
 #include <string.h>
 #include <stdio.h>
-#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.
  *     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: Public Domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example: