malloc.3: remove left-over from malloc_usable_size commit

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

malloc.3: remove left-over from malloc_usable_size commit

Hiltjo Posthuma
Hi,

In the malloc_usable_size() revert commit it was forgotten to remove one line.

The below patch fixes this:


diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 49a5b993f44..cc71560739a 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -63,7 +63,6 @@
 .Fn freezero "void *ptr" "size_t size"
 .Ft void *
 .Fn aligned_alloc "size_t alignment" "size_t size"
-.Ft size_t
 .Vt char *malloc_options ;
 .Sh DESCRIPTION
 The standard functions

--
Kind regards,
Hiltjo

Reply | Threaded
Open this post in threaded view
|

Re: malloc.3: remove left-over from malloc_usable_size commit

Ingo Schwarze
Hi Hiltjo,

Hiltjo Posthuma wrote on Wed, Dec 05, 2018 at 05:46:53PM +0100:

> In the malloc_usable_size() revert commit it was forgotten
> to remove one line.
>
> The below patch fixes this:

Committed, thanks.
  Ingo


> diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
> index 49a5b993f44..cc71560739a 100644
> --- a/lib/libc/stdlib/malloc.3
> +++ b/lib/libc/stdlib/malloc.3
> @@ -63,7 +63,6 @@
>  .Fn freezero "void *ptr" "size_t size"
>  .Ft void *
>  .Fn aligned_alloc "size_t alignment" "size_t size"
> -.Ft size_t
>  .Vt char *malloc_options ;
>  .Sh DESCRIPTION
>  The standard functions