From: sergey Date: Mon, 18 Feb 2019 14:06:37 +0000 (+0200) Subject: XSTRDUP function signature fix X-Git-Tag: 7.1_pulled~234^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5ba3319778452513198b974181f4c2b6bfe06cce;p=mirror%2Ffrr.git XSTRDUP function signature fix I think there is a mistake in XSTRDUP function signature. --- diff --git a/doc/developer/memtypes.rst b/doc/developer/memtypes.rst index d43bc2555e..43cbe002cf 100644 --- a/doc/developer/memtypes.rst +++ b/doc/developer/memtypes.rst @@ -95,7 +95,7 @@ Usage .. c:function:: void *XCALLOC(struct memtype *mtype, size_t size) -.. c:function:: void *XSTRDUP(struct memtype *mtype, size_t size) +.. c:function:: void *XSTRDUP(struct memtype *mtype, const char *name) Allocation wrappers for malloc/calloc/realloc/strdup, taking an extra mtype parameter.