]> git.ozlabs.org Git - ccan/blobdiff - ccan/build_assert/_info
opt: Fix -Wmissing-field-initializers warning
[ccan] / ccan / build_assert / _info
index cf939d794ce95ddd7829fd00b0ba9db48d2653c8..0906af07e60625fa95895e9cf8e6d31661d9159a 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: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])