From 1b973c4e11248a7933a017592276623a2cd6e2ec Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 14:16:52 +0200 Subject: [PATCH] xfree86: loader: drop unused GET_MODULE_*_VERSION macros Not used anywhere, so no need to keep them around in public API. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Module.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/xfree86/common/xf86Module.h b/hw/xfree86/common/xf86Module.h index 307713cf8..5d51d20ed 100644 --- a/hw/xfree86/common/xf86Module.h +++ b/hw/xfree86/common/xf86Module.h @@ -143,9 +143,6 @@ typedef struct { #define MODULE_VERSION_NUMERIC(maj, min, patch) \ ((((maj) & 0xFF) << 24) | (((min) & 0xFF) << 16) | (patch & 0xFFFF)) -#define GET_MODULE_MAJOR_VERSION(vers) (((vers) >> 24) & 0xFF) -#define GET_MODULE_MINOR_VERSION(vers) (((vers) >> 16) & 0xFF) -#define GET_MODULE_PATCHLEVEL(vers) ((vers) & 0xFFFF) /* Prototypes for Loader functions that are exported to modules */ extern _X_EXPORT void *LoadSubModule(void *, const char *, const char **,