diff options
Diffstat (limited to 'dix/resource.c')
-rw-r--r-- | dix/resource.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dix/resource.c b/dix/resource.c index fb4473a7e..a6d115f65 100644 --- a/dix/resource.c +++ b/dix/resource.c @@ -268,6 +268,12 @@ CreateNewResourceType(DeleteType deleteFunc, char *name) return next; } +void +SetResourceTypeErrorValue(RESTYPE type, int errorValue) +{ + resourceTypes[type & TypeMask].errorValue = errorValue; +} + RESTYPE CreateNewResourceClass(void) { |