summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarold L Hunt II <huntharo@msu.edu>2005-05-02 22:01:08 +0000
committerHarold L Hunt II <huntharo@msu.edu>2005-05-02 22:01:08 +0000
commit6700847458427cbdbaf837ab06bfea9b80d92df2 (patch)
tree8469abac693babd30e610db2ef55def28bd53d1a
parente50ab8feade400efd8e88ee0b2deeb924f169034 (diff)
Fix comments for pointers in parameter lists to work with fussy compilers
-rw-r--r--include/dix.h2
-rw-r--r--os/access.c6
-rw-r--r--os/connection.c2
-rw-r--r--os/osdep.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/include/dix.h b/include/dix.h
index a7d71ef68..1b8fc4265 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -366,7 +366,7 @@ extern int DoGetImage(
int /*width*/,
int /*height*/,
Mask /*planemask*/,
- xGetImageReply **/*im_return*/);
+ xGetImageReply ** /*im_return*/);
#ifdef LBX
extern void IncrementClientCount(void);
diff --git a/os/access.c b/os/access.c
index 727fa26f0..1b3d96778 100644
--- a/os/access.c
+++ b/os/access.c
@@ -217,9 +217,9 @@ Bool defeatAccessControl = FALSE;
(length) == (host)->len &&\
!acmp (address, (host)->addr, length))
-static int ConvertAddr(struct sockaddr */*saddr*/,
- int */*len*/,
- pointer */*addr*/);
+static int ConvertAddr(struct sockaddr * /*saddr*/,
+ int * /*len*/,
+ pointer * /*addr*/);
static int CheckAddr(int /*family*/,
pointer /*pAddr*/,
diff --git a/os/connection.c b/os/connection.c
index 81134a840..d8c07077b 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -791,7 +791,7 @@ static ClientPtr
AllocNewConnection (XtransConnInfo trans_conn, int fd, CARD32 conn_time,
int (*Flush)(
ClientPtr /*who*/, OsCommPtr /*oc*/,
- char */*extraBuf*/, int /*extraCount*/),
+ char * /*extraBuf*/, int /*extraCount*/),
void (*Close)(
ClientPtr /*client*/),
LbxProxyPtr proxy)
diff --git a/os/osdep.h b/os/osdep.h
index fca8ecf9a..f1cc8b3a2 100644
--- a/os/osdep.h
+++ b/os/osdep.h
@@ -216,7 +216,7 @@ extern int StandardFlushClient(
int /*extraCount*/
);
extern int LbxFlushClient(ClientPtr /*who*/, OsCommPtr /*oc*/,
- char */*extraBuf*/, int /*extraCount*/);
+ char * /*extraBuf*/, int /*extraCount*/);
#else
extern int FlushClient(
ClientPtr /*who*/,