diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-03-13 17:29:17 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-04-18 00:40:39 +0000 |
commit | 3e4fc3e5885f12e8f2e3a9fdadee2519cdc59606 (patch) | |
tree | 93b0e51413d24acab8a16d9723b907c512719a20 | |
parent | 38030fce539131ac6cb1d90e9dcf2b13549384a0 (diff) |
xfree86: os-support: unexport xf86DeallocateGARTMemory
It's not used in any drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1456>
-rw-r--r-- | hw/xfree86/os-support/linux/lnx_agp.c | 1 | ||||
-rw-r--r-- | hw/xfree86/os-support/shared/agp_noop.c | 1 | ||||
-rw-r--r-- | hw/xfree86/os-support/solaris/sun_agp.c | 1 | ||||
-rw-r--r-- | hw/xfree86/os-support/xf86_OSproc.h | 1 | ||||
-rw-r--r-- | hw/xfree86/os-support/xf86_os_support.h | 1 |
5 files changed, 4 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/linux/lnx_agp.c b/hw/xfree86/os-support/linux/lnx_agp.c index 9bf1d2424..28814c889 100644 --- a/hw/xfree86/os-support/linux/lnx_agp.c +++ b/hw/xfree86/os-support/linux/lnx_agp.c @@ -16,6 +16,7 @@ #include "xf86.h" #include "xf86Priv.h" +#include "xf86_os_support.h" #include "xf86_OSlib.h" #include "xf86OSpriv.h" diff --git a/hw/xfree86/os-support/shared/agp_noop.c b/hw/xfree86/os-support/shared/agp_noop.c index 6f793353d..5f2a57854 100644 --- a/hw/xfree86/os-support/shared/agp_noop.c +++ b/hw/xfree86/os-support/shared/agp_noop.c @@ -37,6 +37,7 @@ #include <X11/X.h> #include "xf86.h" #include "xf86Priv.h" +#include "xf86_os_support.h" #include "xf86_OSlib.h" #include "xf86OSpriv.h" diff --git a/hw/xfree86/os-support/solaris/sun_agp.c b/hw/xfree86/os-support/solaris/sun_agp.c index 02a6e1806..0e5bdb1c5 100644 --- a/hw/xfree86/os-support/solaris/sun_agp.c +++ b/hw/xfree86/os-support/solaris/sun_agp.c @@ -37,6 +37,7 @@ #include "xf86.h" #include "xf86Priv.h" +#include "xf86_os_support.h" #include "xf86_OSlib.h" #include "xf86_OSproc.h" #include <unistd.h> diff --git a/hw/xfree86/os-support/xf86_OSproc.h b/hw/xfree86/os-support/xf86_OSproc.h index ecf11cb29..9fbcf5d01 100644 --- a/hw/xfree86/os-support/xf86_OSproc.h +++ b/hw/xfree86/os-support/xf86_OSproc.h @@ -151,7 +151,6 @@ extern _X_EXPORT Bool xf86AcquireGART(int screenNum); extern _X_EXPORT Bool xf86ReleaseGART(int screenNum); extern _X_EXPORT int xf86AllocateGARTMemory(int screenNum, unsigned long size, int type, unsigned long *physical); -extern _X_EXPORT Bool xf86DeallocateGARTMemory(int screenNum, int key); extern _X_EXPORT Bool xf86BindGARTMemory(int screenNum, int key, unsigned long offset); extern _X_EXPORT Bool xf86UnbindGARTMemory(int screenNum, int key); diff --git a/hw/xfree86/os-support/xf86_os_support.h b/hw/xfree86/os-support/xf86_os_support.h index a711d3d21..ccb4d648d 100644 --- a/hw/xfree86/os-support/xf86_os_support.h +++ b/hw/xfree86/os-support/xf86_os_support.h @@ -26,5 +26,6 @@ void xf86InitVidMem(void); void xf86OSRingBell(int volume, int pitch, int duration); void xf86OSInputThreadInit(void); +Bool xf86DeallocateGARTMemory(int screenNum, int key); #endif /* _XSERVER_XF86_OS_SUPPORT */ |