Re: [PATCH 14/24] re_comp.3: Fix prototypes

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

 



Thanks, Rasmus. Applied.

Cheers,

Michael



On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> re_comp and re_exec take const char* arguments.
> 
> Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
> ---
>  man3/re_comp.3 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man3/re_comp.3 b/man3/re_comp.3
> index c1199a8..0e15598 100644
> --- a/man3/re_comp.3
> +++ b/man3/re_comp.3
> @@ -34,9 +34,9 @@ re_comp, re_exec \- BSD regex functions
>  .br
>  .B #include <regex.h>
>  .sp
> -.BI "char *re_comp(char *" regex );
> +.BI "char *re_comp(const char *" regex );
>  .sp
> -.BI "int re_exec(char *" string );
> +.BI "int re_exec(const char *" string );
>  .SH DESCRIPTION
>  .BR re_comp ()
>  is used to compile the null-terminated regular expression pointed to by
> 


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