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 --- record/record.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'record') diff --git a/record/record.c b/record/record.c index 649f4b268..242544f5d 100644 --- a/record/record.c +++ b/record/record.c @@ -42,7 +42,6 @@ and Jim Haggerty of Metheus. #include "set.h" #include "swaprep.h" #include "inputstr.h" -#include "registry.h" #include #include @@ -2876,10 +2875,9 @@ RecordExtensionInit(void) #if 0 ExtensionEntry *extentry; - RTContext = CreateNewResourceType(RecordDeleteContext); + RTContext = CreateNewResourceType(RecordDeleteContext, "RecordContext"); if (!RTContext) return; - RegisterResourceName(RTContext, "RecordContext"); ppAllContexts = NULL; numContexts = numEnabledContexts = numEnabledRCAPs = 0; -- cgit v1.2.3