summaryrefslogtreecommitdiff
path: root/os/access.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-05-07 09:32:34 -0700
committerKeith Packard <keithp@keithp.com>2010-05-07 12:22:58 -0700
commit2eab697adba4b1858a530750e9a35fba79a7bf26 (patch)
treea67e747f860fde87ff61eaace3991b0834248ba4 /os/access.c
parente2e2747f40c4b9e23dba38ea656d4c082e83a794 (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/access.c')
-rw-r--r--os/access.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/os/access.c b/os/access.c
index 74c340a43..d057e0425 100644
--- a/os/access.c
+++ b/os/access.c
@@ -215,11 +215,11 @@ static int ConvertAddr(struct sockaddr * /*saddr*/,
pointer * /*addr*/);
static int CheckAddr(int /*family*/,
- pointer /*pAddr*/,
+ const void * /*pAddr*/,
unsigned /*length*/);
static Bool NewHost(int /*family*/,
- pointer /*addr*/,
+ const void * /*addr*/,
int /*len*/,
int /* addingLocalHosts */);
@@ -1316,7 +1316,7 @@ int
AddHost (ClientPtr client,
int family,
unsigned length, /* of bytes in pAddr */
- pointer pAddr)
+ const void * pAddr)
{
int rc, len;
@@ -1377,7 +1377,7 @@ ForEachHostInFamily (int family,
* called when starting or resetting the server */
static Bool
NewHost (int family,
- pointer addr,
+ const void * addr,
int len,
int addingLocalHosts)
{
@@ -1512,7 +1512,7 @@ GetHosts (
static int
CheckAddr (
int family,
- pointer pAddr,
+ const void * pAddr,
unsigned length)
{
int len;