[PATCH] malloc_get_state.3: Replace header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The non-standard functions malloc_[gs]et_state are provided by
malloc.h, not stdlib.h

Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
---
 man3/malloc_get_state.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/malloc_get_state.3 b/man3/malloc_get_state.3
index cea14c4..5da546d 100644
--- a/man3/malloc_get_state.3
+++ b/man3/malloc_get_state.3
@@ -27,7 +27,7 @@
 malloc_get_state, malloc_set_state \- record and restore state of malloc implementation
 .SH SYNOPSIS
 .nf
-.B #include <stdlib.h>
+.B #include <malloc.h>
 .sp
 .BI "void* malloc_get_state(void);"
 
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux