summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Goglin <Brice.Goglin@ens-lyon.org>2010-05-29 21:11:14 +0200
committerBrice Goglin <bgoglin@inria.fr>2010-05-29 21:11:14 +0200
commit7d42fad5cec59cb0696087bed9745ffd5a999f68 (patch)
tree65b1bbf207ac56f7406309ecee40987b4e1572fd
parentf93ffa718135d9d85f04935325016b8766f05ea3 (diff)
Xau.man: Add missing const attributes
Reported by Tom Fogal in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583599
-rw-r--r--Xau.man16
1 files changed, 8 insertions, 8 deletions
diff --git a/Xau.man b/Xau.man
index 6ef0b03..cc82bc7 100644
--- a/Xau.man
+++ b/Xau.man
@@ -58,19 +58,19 @@ Xauth *XauReadAuth (FILE *\fIauth_file\fP\^);
int XauWriteAuth (FILE *\fIauth_file\fP, Xauth *\fIauth\fP\^);
.HP
Xauth *XauGetAuthByAddr (unsigned short \fIfamily\fP\^, unsigned short
-\fIaddress_length\fP\^, char *\fIaddress\fP\^, unsigned short
-\fInumber_length\fP\^, char *\fInumber\fP\^, unsigned short
-\fIname_length\fP\^, char *\fIname\fP\^);
+\fIaddress_length\fP\^, const char *\fIaddress\fP\^, unsigned short
+\fInumber_length\fP\^, const char *\fInumber\fP\^, unsigned short
+\fIname_length\fP\^, const char *\fIname\fP\^);
.HP
Xauth *XauGetBestAuthByAddr (unsigned short \fIfamily\fP\^, unsigned short
-\fIaddress_length\fP\^, char *\fIaddress\fP\^, unsigned short
-\fInumber_length\fP\^, char *\fInumber\fP\^, int \fItypes_length\fP\^, char
-**\fItypes\fR\^, int *\fItype_lengths\fR\^);
+\fIaddress_length\fP\^, const char *\fIaddress\fP\^, unsigned short
+\fInumber_length\fP\^, const char *\fInumber\fP\^, int \fItypes_length\fP\^,
+char **\fItypes\fR\^, const int *\fItype_lengths\fR\^);
.HP
-int XauLockAuth (char *\fIfile_name\fP\^, int \fIretries\fP\^, int
+int XauLockAuth (const char *\fIfile_name\fP\^, int \fIretries\fP\^, int
\fItimeout\fP\^, long \fIdead\fP\^);
.HP
-int XauUnlockAuth (char *\fIfile_name\fP\^);
+int XauUnlockAuth (const char *\fIfile_name\fP\^);
.HP
int XauDisposeAuth (Xauth *\fIauth\fP\^);
.ft R