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

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

 



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