diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-05-07 09:32:34 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-05-07 12:22:58 -0700 |
commit | 2eab697adba4b1858a530750e9a35fba79a7bf26 (patch) | |
tree | a67e747f860fde87ff61eaace3991b0834248ba4 /os/mitauth.c | |
parent | e2e2747f40c4b9e23dba38ea656d4c082e83a794 (diff) |
Constify function prototypes in auth & xdmcp code
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Tested-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'os/mitauth.c')
-rw-r--r-- | os/mitauth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/mitauth.c b/os/mitauth.c index a7968cbd7..1a26dcea4 100644 --- a/os/mitauth.c +++ b/os/mitauth.c @@ -50,7 +50,7 @@ static struct auth { int MitAddCookie ( unsigned short data_length, - char *data, + const char *data, XID id) { struct auth *new; @@ -74,7 +74,7 @@ MitAddCookie ( XID MitCheckCookie ( unsigned short data_length, - char *data, + const char *data, ClientPtr client, char **reason) { @@ -139,7 +139,7 @@ MitFromID ( int MitRemoveCookie ( unsigned short data_length, - char *data) + const char *data) { struct auth *auth, *prev; @@ -167,7 +167,7 @@ static char cookie[16]; /* 128 bits */ XID MitGenerateCookie ( unsigned data_length, - char *data, + const char *data, XID id, unsigned *data_length_return, char **data_return) |