summaryrefslogtreecommitdiff
path: root/src/xcb_conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xcb_conn.c')
-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;