]> git.ozlabs.org Git - ccan/blobdiff - ccan/build_assert/_info
modules: update documentation examples so they compile under ccanlint.
[ccan] / ccan / build_assert / _info
index cf939d794ce95ddd7829fd00b0ba9db48d2653c8..16a4a94c8f292c27665120023f503cfd33c61974 100644 (file)
@@ -26,7 +26,7 @@
  *             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);