Xext: geext: unexport GERegisterExtension() and document it
Not used by any external module (eg drivers), so no need to keep it exported. Also documenting it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
1295fc3ff5
commit
b49a585fae
|
@ -32,7 +32,7 @@ Equipment Corporation.
|
||||||
#include <X11/Xproto.h>
|
#include <X11/Xproto.h>
|
||||||
|
|
||||||
#include "os/screensaver.h"
|
#include "os/screensaver.h"
|
||||||
#include "Xext/geext.h"
|
#include "Xext/geext_priv.h"
|
||||||
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
|
|
|
@ -24,10 +24,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dix-config.h>
|
#include <dix-config.h>
|
||||||
#include "windowstr.h"
|
|
||||||
#include <X11/extensions/ge.h>
|
|
||||||
|
|
||||||
#include "geext.h"
|
#include <X11/extensions/ge.h>
|
||||||
|
#include <X11/extensions/geproto.h>
|
||||||
|
|
||||||
|
#include "Xext/geext_priv.h"
|
||||||
|
|
||||||
|
#include "windowstr.h"
|
||||||
#include "protocol-versions.h"
|
#include "protocol-versions.h"
|
||||||
#include "extinit_priv.h"
|
#include "extinit_priv.h"
|
||||||
|
|
||||||
|
|
|
@ -31,11 +31,4 @@ from the author.
|
||||||
#include <X11/Xfuncproto.h>
|
#include <X11/Xfuncproto.h>
|
||||||
#include <X11/extensions/geproto.h>
|
#include <X11/extensions/geproto.h>
|
||||||
|
|
||||||
/* Interface for other extensions */
|
|
||||||
extern _X_EXPORT void GERegisterExtension(int extension,
|
|
||||||
void (*ev_dispatch) (xGenericEvent
|
|
||||||
*from,
|
|
||||||
xGenericEvent
|
|
||||||
*to));
|
|
||||||
|
|
||||||
#endif /* _GEEXT_H_ */
|
#endif /* _GEEXT_H_ */
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
/* SPDX-License-Identifier: MIT OR X11
|
||||||
|
*
|
||||||
|
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||||
|
*/
|
||||||
|
#ifndef _XORG_GEEXT_PRIV_H
|
||||||
|
|
||||||
|
#include <X11/Xproto.h>
|
||||||
|
|
||||||
|
typedef void (*XorgGESwapProcPtr) (xGenericEvent *from, xGenericEvent *to);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Register generic event extension dispatch handler
|
||||||
|
*
|
||||||
|
* @param extension base opcode
|
||||||
|
* @param event swap handler function
|
||||||
|
*/
|
||||||
|
void GERegisterExtension(int extension, XorgGESwapProcPtr swap_handler);
|
||||||
|
|
||||||
|
#endif /* _XORG_GEEXT_PRIV_H */
|
|
@ -60,11 +60,11 @@ SOFTWARE.
|
||||||
|
|
||||||
#include "dix/dix_priv.h"
|
#include "dix/dix_priv.h"
|
||||||
#include "dix/exevents_priv.h"
|
#include "dix/exevents_priv.h"
|
||||||
|
#include "Xext/geext_priv.h"
|
||||||
|
|
||||||
#include "inputstr.h"
|
#include "inputstr.h"
|
||||||
#include "gcstruct.h" /* pointer for extnsionst.h */
|
#include "gcstruct.h" /* pointer for extnsionst.h */
|
||||||
#include "extnsionst.h" /* extension entry */
|
#include "extnsionst.h" /* extension entry */
|
||||||
#include "geext.h" /* extension interfaces for ge */
|
|
||||||
#include "extinit_priv.h"
|
#include "extinit_priv.h"
|
||||||
#include "exglobals.h"
|
#include "exglobals.h"
|
||||||
#include "swaprep.h"
|
#include "swaprep.h"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*/
|
*/
|
||||||
#include <dix-config.h>
|
#include <dix-config.h>
|
||||||
|
|
||||||
#include "Xext/geext.h"
|
#include "Xext/geext_priv.h"
|
||||||
|
|
||||||
#include "present_priv.h"
|
#include "present_priv.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue