diff options
author | Michel Dänzer <daenzer@vmware.com> | 2010-06-14 08:52:16 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2010-06-21 08:18:15 +0200 |
commit | f7a91ece264af9f3fd2fc18e99aefcda93ce9f5c (patch) | |
tree | dd5748ed2b94a860be6e66070e2c025cc9febad0 /src/radeon_vip.c | |
parent | ea37d24b1b6d4cbcf73e680846de25b72af216e3 (diff) |
Convert x(c)alloc/xfree to m/calloc/free.
Fixes deprecation warnings with xserver master and should also work with older
xservers.
Diffstat (limited to 'src/radeon_vip.c')
-rw-r--r-- | src/radeon_vip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_vip.c b/src/radeon_vip.c index 05b90f19..84570789 100644 --- a/src/radeon_vip.c +++ b/src/radeon_vip.c @@ -349,7 +349,7 @@ void RADEONVIP_reset(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) void RADEONVIP_init(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) { - pPriv->VIP=xcalloc(1,sizeof(GENERIC_BUS_Rec)); + pPriv->VIP=calloc(1,sizeof(GENERIC_BUS_Rec)); pPriv->VIP->scrnIndex=pScrn->scrnIndex; pPriv->VIP->DriverPrivate.ptr=pPriv; pPriv->VIP->ioctl=RADEONVIP_ioctl; |