Re: [PATCH 06/20] argz_*: Fix prototypes

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

 



Thanks. Applied.

Cheers,

Michael

On 05/20/2014 01:02 AM, Rasmus Villemoes wrote:
> Update the prototypes of argz_{delete,extract,next} to agree with
> glibc headers and manual.
> ---
>  man3/argz_add.3 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man3/argz_add.3 b/man3/argz_add.3
> index 3d07fc0..a28f9e2 100644
> --- a/man3/argz_add.3
> +++ b/man3/argz_add.3
> @@ -33,14 +33,14 @@ argz_next, argz_replace, argz_stringify \- functions to handle an argz list
>  .BI "error_t argz_create_sep(const char *" str ", int " sep ", char **" argz ,
>  .BI "                     size_t *" argz_len );
>  .sp
> -.BI "error_t argz_delete(char **" argz ", size_t *" argz_len ", char *" entry );
> +.BI "void argz_delete(char **" argz ", size_t *" argz_len ", char *" entry );
>  .sp
> -.BI "void argz_extract(char *" argz ", size_t " argz_len ", char  **" argv );
> +.BI "void argz_extract(const char *" argz ", size_t " argz_len ", char  **" argv );
>  .sp
>  .BI "error_t argz_insert(char **" argz ", size_t *" argz_len ", char *" before ,
>  .BI "                     const char *" entry );
>  .sp
> -.BI "char *argz_next(char *" argz ", size_t " argz_len ", const char *" entry );
> +.BI "char *argz_next(const char *" argz ", size_t " argz_len ", const char *" entry );
>  .sp
>  .BI "error_t argz_replace(char **" argz ", size_t *" argz_len \
>  ", const char *" str ,
> 


-- 
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@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