X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcompiler%2Fcompiler.h;h=49088ac799e6f0ba9772afde55d8a9fdd421f71d;hb=54c087e9b147c70a06fe5e7543e39aa70d406b6d;hp=7adcc8ca1a4ea521cb11069d3dce4dff062ecb14;hpb=d40331c745a6e4a56a3ea210ef9e1e264f7e6e5a;p=ccan diff --git a/ccan/compiler/compiler.h b/ccan/compiler/compiler.h index 7adcc8ca..49088ac7 100644 --- a/ccan/compiler/compiler.h +++ b/ccan/compiler/compiler.h @@ -146,7 +146,7 @@ * * 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); * }