All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] malloc_get_state.3: Replace header
@ 2014-06-04 14:38 Rasmus Villemoes
       [not found] ` <1401892717-12014-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus Villemoes @ 2014-06-04 14:38 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

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

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] malloc_get_state.3: Replace header
       [not found] ` <1401892717-12014-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-06-04 18:52   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-06-04 18:52 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

Thanks, Rasmus. Applied.

Cheers,

Michael


On 06/04/2014 04:38 PM, Rasmus Villemoes wrote:
> The non-standard functions malloc_[gs]et_state are provided by
> malloc.h, not stdlib.h
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  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);"
>  
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-04 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-04 14:38 [PATCH] malloc_get_state.3: Replace header Rasmus Villemoes
     [not found] ` <1401892717-12014-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-06-04 18:52   ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.