From f7a91ece264af9f3fd2fc18e99aefcda93ce9f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 14 Jun 2010 08:52:16 +0200 Subject: Convert x(c)alloc/xfree to m/calloc/free. Fixes deprecation warnings with xserver master and should also work with older xservers. --- src/radeon_vip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon_vip.c') 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; -- cgit v1.2.3