]> git.ozlabs.org Git - ccan/blobdiff - ccan/compiler/compiler.h
compiler, list, noerr, sparse_bsearch, str, str_talloc, stringmap, talloc_link, tdb...
[ccan] / ccan / compiler / compiler.h
index 7adcc8ca1a4ea521cb11069d3dce4dff062ecb14..49088ac799e6f0ba9772afde55d8a9fdd421f71d 100644 (file)
  *
  * Example:
  * // buf param may be freed by this; need return value!
- * static char *WARN_UNUSED_RESULT enlarge(const char *buf, unsigned *size)
+ * static char *WARN_UNUSED_RESULT enlarge(char *buf, unsigned *size)
  * {
  *     return realloc(buf, (*size) *= 2);
  * }