From f5c4956a81ed5aee3ea46e91785ec14f82e205d5 Mon Sep 17 00:00:00 2001 From: Ian Osgood Date: Tue, 14 Mar 2006 11:53:01 -0800 Subject: [PATCH] Fix XCBGetSetup to match prototype. --- src/xcb_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1