X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcompiler%2Fcompiler.h;fp=ccan%2Fcompiler%2Fcompiler.h;h=49088ac799e6f0ba9772afde55d8a9fdd421f71d;hb=1fe7f55b1efc5deefb20815a03b56c8ef0f6dc53;hp=7adcc8ca1a4ea521cb11069d3dce4dff062ecb14;hpb=ab4a6fd9a3b417456ccd8f1fb976783683ccaa26;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); * }