(submit/cleanup-api-xfree86) 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:
parent
a10b46be47
commit
94859b1247
|
@ -63,7 +63,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 */
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue