summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Osgood <iano@quirkster.com>2006-03-14 11:53:01 -0800
committerIan Osgood <iano@quirkster.com>2006-03-14 11:53:01 -0800
commitf5c4956a81ed5aee3ea46e91785ec14f82e205d5 (patch)
treef05264881aa73066693e5567d546b677f777d7e0 /src
parent9472c251ae426bb496a3112d0ae390f1f1c35515 (diff)
Fix XCBGetSetup to match prototype.
Diffstat (limited to 'src')
-rw-r--r--src/xcb_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_conn.c b/src/xcb_conn.c
index 51f8eaa..1e93137 100644
--- a/src/xcb_conn.c
+++ b/src/xcb_conn.c
@@ -169,7 +169,7 @@ static int write_vec(XCBConnection *c, struct iovec **vector, int *count)
/* Public interface */
-XCBConnSetupSuccessRep *XCBGetSetup(XCBConnection *c)
+const XCBConnSetupSuccessRep *XCBGetSetup(XCBConnection *c)
{
/* doesn't need locking because it's never written to. */
return c->setup;