summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2014-03-10 18:31:33 -0400
committerKeith Packard <keithp@keithp.com>2014-07-17 10:19:52 -0700
commit5eb77697ea35e7dc8cb8af2c3b5d8ffdba0fb632 (patch)
tree633e3533d8a009e8682d08f61e4c7b95d1258e75 /os
parent8b36e1ec8dd9f53e9f4e10422c2100844e9e549c (diff)
Avoid starting a comment with */*
Even though -Wcomment doesn't mind it (in gcc or clang), the appearance of */* confuses the syntax highlighter of some editors (eg. vim), and causes warnings in MSVC. Signed-off-by: Peter Harris <pharris@opentext.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'os')
-rw-r--r--os/access.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/access.c b/os/access.c
index e8c0781f2..9fcf99a73 100644
--- a/os/access.c
+++ b/os/access.c
@@ -1217,9 +1217,9 @@ AddHost(ClientPtr client, int family, unsigned length, /* of bytes in pAddr */
}
Bool
-ForEachHostInFamily(int family, Bool (*func) (unsigned char * /* addr */ ,
- short /* len */ ,
- void */* closure */ ),
+ForEachHostInFamily(int family, Bool (*func) (unsigned char *addr,
+ short len,
+ void *closure),
void *closure)
{
HOST *host;