]> git.ozlabs.org Git - ccan/blobdiff - ccan/compiler/_info
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / compiler / _info
index c55ba22f086c320de70b4c5d21a0b56da825e16f..12cb24757829b55d339ed6f9e540834d84eac9d3 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: LGPL (3 or any later version)
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example:
@@ -41,7 +41,7 @@
  *             va_end(ap);
  *     }
  *
- *     int main(int argc, char *argv[])
+ *     int main(int argc, char *argv[] UNNEEDED)
  *     {
  *             if (argc != 1) {
  *                     logger(3, "Don't want %i arguments!\n", argc-1);