summaryrefslogtreecommitdiff
path: root/os/osdep.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-03-11 00:51:43 -0400
committerKristian Høgsberg <krh@redhat.com>2008-03-11 00:56:17 -0400
commitcc05255191413b3f376edbc600122ff085f45f7b (patch)
treef0dec4c442ec7bb3e443d89a3449be38eb125a32 /os/osdep.h
parentbc504ffbba3dec2e3467bab8ba1ac25db6dd317e (diff)
Make WriteToClient take a const void * like any decent IO write function.
Enough with the casting. Doesn't break API or even ABI, but does make a lot of silly casts superfluos.
Diffstat (limited to 'os/osdep.h')
-rw-r--r--os/osdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/osdep.h b/os/osdep.h
index b6894c146..84f7177db 100644
--- a/os/osdep.h
+++ b/os/osdep.h
@@ -184,7 +184,7 @@ typedef struct _osComm {
extern int FlushClient(
ClientPtr /*who*/,
OsCommPtr /*oc*/,
- char* /*extraBuf*/,
+ const void * /*extraBuf*/,
int /*extraCount*/
);