mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
registry: Add a call for DTRACE compatibility.
This commit is contained in:
@@ -29,6 +29,7 @@ void RegisterExtensionNames(ExtensionEntry *ext);
|
||||
/*
|
||||
* Lookup functions. The returned string must not be modified or freed.
|
||||
*/
|
||||
const char *LookupMajorName(int major);
|
||||
const char *LookupRequestName(int major, int minor);
|
||||
const char *LookupEventName(int event);
|
||||
const char *LookupErrorName(int error);
|
||||
@@ -51,6 +52,7 @@ void dixResetRegistry(void);
|
||||
#define RegisterResourceName(a, b) { ; }
|
||||
#define RegisterExtensionNames(a) { ; }
|
||||
|
||||
#define LookupMajorName(a) XREGISTRY_UNKNOWN
|
||||
#define LookupRequestName(a, b) XREGISTRY_UNKNOWN
|
||||
#define LookupEventName(a) XREGISTRY_UNKNOWN
|
||||
#define LookupErrorName(a) XREGISTRY_UNKNOWN
|
||||
|
||||
Reference in New Issue
Block a user