diff options
author | Ian Osgood <iano@quirkster.com> | 2006-03-13 10:36:13 -0800 |
---|---|---|
committer | Ian Osgood <iano@quirkster.com> | 2006-03-13 10:36:13 -0800 |
commit | be1302b6efb33967bce5356af58e3e0ae3b19363 (patch) | |
tree | b8261e80c447ae946aa8b3e1b626bc17bd69d9bf /src/xcb_util.c | |
parent | d8de2c7c2a9b8bf59c8f1fcece5faed0b6cbf6f4 (diff) |
Remove last deprecation warning.
Diffstat (limited to 'src/xcb_util.c')
-rw-r--r-- | src/xcb_util.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xcb_util.c b/src/xcb_util.c index 4ad779a..93e180c 100644 --- a/src/xcb_util.c +++ b/src/xcb_util.c @@ -40,6 +40,7 @@ #include "xcb.h" #include "xcbext.h" +#include "xcbint.h" int XCBPopcount(CARD32 mask) { @@ -162,7 +163,7 @@ XCBConnection *XCBConnect(const char *displayname, int *screenp) if(fd == -1) return 0; - XCBGetAuthInfo(fd, &auth); + _xcb_get_auth_info(fd, &auth); c = XCBConnectToFD(fd, &auth); free(auth.name); free(auth.data); @@ -218,3 +219,8 @@ int XCBOpenUnix(const char *file) { return _xcb_open_unix(file); } + +int XCBGetAuthInfo(int fd, XCBAuthInfo *info) +{ + return _xcb_get_auth_info(fd, info); +} |