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> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1290>
This commit is contained in:
parent
1d3c26446d
commit
cf03948572
|
@ -64,7 +64,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,
|
||||
|
|
|
@ -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 */
|
|
@ -57,7 +57,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"
|
||||
|
|
Loading…
Reference in New Issue