]> git.ozlabs.org Git - ccan/blobdiff - ccan/build_assert/_info
endian: add constant versions.
[ccan] / ccan / build_assert / _info
index cf939d794ce95ddd7829fd00b0ba9db48d2653c8..bce92b7e182ea0d439ec3be07494ef82ec0295f8 100644 (file)
  *             int x;
  *     };
  *
- *     char *foo_string(struct foo *foo)
+ *     static char *foo_string(struct foo *foo)
  *     {
  *             // This trick requires that the string be first in the structure
  *             BUILD_ASSERT(offsetof(struct foo, string) == 0);
  *             return (char *)foo;
  *     }
  *
- * Licence: LGPL (2 or any later version)
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])