From 895f40792a14d8b88923bf3b428d31ae3bb31e46 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 2 Dec 2009 17:43:01 -0800 Subject: Add type name argument to CreateNewResourceType Convert all calls of CreateNewResourceType to pass name argument Breaks DIX ABI. ABI versions bumped: Signed-off-by: Alan Coopersmith Reviewed-by: Keith Packard Signed-off-by: Keith Packard --- damageext/damageext.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'damageext') diff --git a/damageext/damageext.c b/damageext/damageext.c index 044e8efdc..462796e91 100644 --- a/damageext/damageext.c +++ b/damageext/damageext.c @@ -24,7 +24,6 @@ #include #endif -#include "registry.h" #include "damageextint.h" #include "protocol-versions.h" @@ -498,15 +497,13 @@ DamageExtensionInit(void) for (s = 0; s < screenInfo.numScreens; s++) DamageSetup (screenInfo.screens[s]); - DamageExtType = CreateNewResourceType (FreeDamageExt); + DamageExtType = CreateNewResourceType (FreeDamageExt, "DamageExt"); if (!DamageExtType) return; - RegisterResourceName(DamageExtType, "DamageExt"); - DamageExtWinType = CreateNewResourceType (FreeDamageExtWin); + DamageExtWinType = CreateNewResourceType (FreeDamageExtWin, "DamageExtWin"); if (!DamageExtWinType) return; - RegisterResourceName(DamageExtWinType, "DamageExtWin"); if (!dixRequestPrivate(DamageClientPrivateKey, sizeof (DamageClientRec))) return; -- cgit v1.2.3