]> git.ozlabs.org Git - ccan/blobdiff - ccan/build_assert/_info
tal/str: new module.
[ccan] / ccan / build_assert / _info
index d2fe3d9c80fc240daf4cef1e3b8b9113e4a152df..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[])
 {