X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_conn.c;h=1e9313773e29741bee9df6a783a30be52054a0dd;hb=ff38c17c48c271847d12c81cbf80142c6918dc78;hp=51f8eaa819a70e37d204c58c9f5903a58124be5b;hpb=d8de2c7c2a9b8bf59c8f1fcece5faed0b6cbf6f4;p=free-sw%2Fxcb%2Flibxcb 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;