From: Ian Osgood Date: Tue, 14 Mar 2006 19:53:01 +0000 (-0800) Subject: Fix XCBGetSetup to match prototype. X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5c4956a81ed5aee3ea46e91785ec14f82e205d5;p=free-sw%2Fxcb%2Flibxcb Fix XCBGetSetup to match prototype. --- 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;