Fix XCBGetSetup to match prototype.
authorIan Osgood <iano@quirkster.com>
Tue, 14 Mar 2006 19:53:01 +0000 (11:53 -0800)
committerIan Osgood <iano@quirkster.com>
Tue, 14 Mar 2006 19:53:01 +0000 (11:53 -0800)
src/xcb_conn.c

index 51f8eaa..1e93137 100644 (file)
@@ -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;