[PATCH] manual: fix XPG basename prototype

Yaakov Selkowitz yselkowi@redhat.com
Thu Mar 12 11:56:00 GMT 2015


* manual/string.texi (XPG basename): Fix prototype.
---
 manual/string.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manual/string.texi b/manual/string.texi
index ba5a2c7..397c181 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -2258,7 +2258,7 @@ on different systems.
 
 @comment libgen.h
 @comment XPG
-@deftypefun {char *} basename (const char *@var{path})
+@deftypefun {char *} basename (char *@var{path})
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
 This is the standard XPG defined @code{basename}.  It is similar in
 spirit to the GNU version, but may modify the @var{path} by removing
-- 
2.1.4



More information about the Libc-alpha mailing list