aboutsummaryrefslogtreecommitdiffstats
path: root/man3/malloc.3
diff options
context:
space:
mode:
authorSeonghun Lim <wariua@gmail.com>2011-09-08 17:35:56 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2011-09-16 07:00:46 +0200
commitd9ec0c6aa9855890ed939304d4de97b300e1c78c (patch)
tree4bf2101f73d5956ee1054385dc220f89ccfc8163 /man3/malloc.3
parent01038ebae15bbac9201b4113b9c28a7cb89c6459 (diff)
downloadman-pages-d9ec0c6aa9855890ed939304d4de97b300e1c78c.tar.gz
malloc.3: Reorder prototypes in SYNOPSIS
calloc() comes before realloc() in the other sections, so should do in SYNOPSIS, too. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/malloc.3')
-rw-r--r--man3/malloc.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/malloc.3 b/man3/malloc.3
index 4067aeab05..45a2dec9fe 100644
--- a/man3/malloc.3
+++ b/man3/malloc.3
@@ -34,8 +34,8 @@ malloc, free, calloc, realloc \- Allocate and free dynamic memory
.sp
.BI "void *malloc(size_t " "size" );
.BI "void free(void " "*ptr" );
-.BI "void *realloc(void " "*ptr" ", size_t " "size" );
.BI "void *calloc(size_t " "nmemb" ", size_t " "size" );
+.BI "void *realloc(void " "*ptr" ", size_t " "size" );
.fi
.SH DESCRIPTION
.PP