diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2007-12-14 17:59:29 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2007-12-14 23:10:13 -0200 |
commit | ff5abc72fcc459d7eac663e5f8e4d40b28749841 (patch) | |
tree | 9139c8c57f0a584e216dd1ffb7db8948a225da97 /include | |
parent | a3f7f7b60e391e6106f5db40b3fe5fbc67ccd836 (diff) |
registry: XREGISTRY_UNKNOWN needs to be defined even if XREGISTRY isn't enabled
In case XREGISTRY isn't enabled, XREGISTRY_UNKNOWN is used but it's
not being available. It's now always available.
Diffstat (limited to 'include')
-rw-r--r-- | include/registry.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/registry.h b/include/registry.h index edd6ef9a7..29e5fdfd3 100644 --- a/include/registry.h +++ b/include/registry.h @@ -12,6 +12,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef DIX_REGISTRY_H #define DIX_REGISTRY_H +/* + * Result returned from any unsuccessful lookup + */ +#define XREGISTRY_UNKNOWN "<unknown>" + #ifdef XREGISTRY #include "resource.h" @@ -36,11 +41,6 @@ const char *LookupErrorName(int error); const char *LookupResourceName(RESTYPE rtype); /* - * Result returned from any unsuccessful lookup - */ -#define XREGISTRY_UNKNOWN "<unknown>" - -/* * Setup and teardown */ void dixResetRegistry(void); |