summaryrefslogtreecommitdiff
path: root/record
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-12-02 17:43:01 -0800
committerKeith Packard <keithp@keithp.com>2009-12-18 17:44:12 -0800
commit895f40792a14d8b88923bf3b428d31ae3bb31e46 (patch)
tree3f53eecbf3ffea314ee657a0254925fe65510605 /record
parenta11c58fa0c5809f918b36b84be53385cb2d8ea59 (diff)
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 <alan.coopersmith@sun.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'record')
-rw-r--r--record/record.c4
1 files changed, 1 insertions, 3 deletions
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 <stdio.h>
#include <assert.h>
@@ -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;