]> git.ozlabs.org Git - ccan/blobdiff - ccan/build_assert/_info
configurator: HAVE_SECTION_START_STOP
[ccan] / ccan / build_assert / _info
index d2fe3d9c80fc240daf4cef1e3b8b9113e4a152df..284c6cf5b8c6591185949cec18db37e6768778fa 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: Public domain
+ * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
 {