mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
xfree86: move private definitions out of dri.h
public server module API headers shouldn't be clobbered with non-exported definitions, so move them out to private header file. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -61,7 +61,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include <X11/dri/xf86driproto.h>
|
||||
#include "swaprep.h"
|
||||
#include "xf86str.h"
|
||||
#include "dri.h"
|
||||
#include "dri_priv.h"
|
||||
#include "sarea.h"
|
||||
#include "dristruct.h"
|
||||
#include "mi.h"
|
||||
|
||||
@@ -195,8 +195,6 @@ extern _X_EXPORT Bool DRIScreenInit(ScreenPtr pScreen,
|
||||
|
||||
extern _X_EXPORT void DRICloseScreen(ScreenPtr pScreen);
|
||||
|
||||
extern Bool DRIExtensionInit(void);
|
||||
|
||||
extern _X_EXPORT void DRIReset(void);
|
||||
|
||||
extern _X_EXPORT Bool DRIQueryDirectRenderingCapable(ScreenPtr pScreen,
|
||||
|
||||
12
hw/xfree86/dri/dri_priv.h
Normal file
12
hw/xfree86/dri/dri_priv.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
*/
|
||||
#ifndef _XSERVER_DRI_PRIV_H
|
||||
#define _XSERVER_DRI_PRIV_H
|
||||
|
||||
#include "dri.h"
|
||||
|
||||
extern Bool DRIExtensionInit(void);
|
||||
|
||||
#endif /* _XSERVER_DRI_PRIV_H */
|
||||
@@ -56,7 +56,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include <X11/dri/xf86driproto.h>
|
||||
#include "swaprep.h"
|
||||
#include "xf86str.h"
|
||||
#include "dri.h"
|
||||
#include "dri_priv.h"
|
||||
#include "sarea.h"
|
||||
#include "dristruct.h"
|
||||
#include "xf86drm.h"
|
||||
|
||||
Reference in New Issue
Block a user