]> git.puffer.fish Git - mirror/frr.git/commitdiff
XSTRDUP function signature fix 3817/head
authorsergey <sergeyrar@gmail.com>
Mon, 18 Feb 2019 14:06:37 +0000 (16:06 +0200)
committerGitHub <noreply@github.com>
Mon, 18 Feb 2019 14:06:37 +0000 (16:06 +0200)
I think  there is a mistake in XSTRDUP function signature.

doc/developer/memtypes.rst

index d43bc2555effa2ccc2f9365ca9d6cd04e4d3e54f..43cbe002cffd670719a31ce0d751a6073591c322 100644 (file)
@@ -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.