mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 15:00:41 +01:00
include: unexport XIstubs.h
The functions declared here aren't used by any driver, so no need to keep
them in the public driver API. Since the whole file isn't included by anybody
outside the xserver tree itself, it doesn't need to be installed at all,
so making it internal and move it to Xi directory.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1325>
(cherry picked from commit 03eb593460)
This commit is contained in:
parent
289e0cd3d5
commit
2056850f31
5 changed files with 12 additions and 17 deletions
|
|
@ -26,21 +26,18 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#ifndef XI_STUBS_H
|
||||
#define XI_STUBS_H 1
|
||||
|
||||
extern _X_EXPORT int
|
||||
SetDeviceMode(ClientPtr /* client */ ,
|
||||
DeviceIntPtr /* dev */ ,
|
||||
int /* mode */ );
|
||||
int SetDeviceMode(ClientPtr client,
|
||||
DeviceIntPtr dev,
|
||||
int mode);
|
||||
|
||||
extern _X_EXPORT int
|
||||
SetDeviceValuators(ClientPtr /* client */ ,
|
||||
DeviceIntPtr /* dev */ ,
|
||||
int * /* valuators */ ,
|
||||
int /* first_valuator */ ,
|
||||
int /* num_valuators */ );
|
||||
int SetDeviceValuators(ClientPtr client,
|
||||
DeviceIntPtr dev,
|
||||
int *valuators,
|
||||
int first_valuator,
|
||||
int num_valuators);
|
||||
|
||||
extern _X_EXPORT int
|
||||
ChangeDeviceControl(ClientPtr /* client */ ,
|
||||
DeviceIntPtr /* dev */ ,
|
||||
xDeviceCtl * /* control */ );
|
||||
int ChangeDeviceControl(ClientPtr client,
|
||||
DeviceIntPtr dev,
|
||||
xDeviceCtl *control);
|
||||
|
||||
#endif /* XI_STUBS_H */
|
||||
|
|
@ -59,6 +59,7 @@
|
|||
#include "xf86Priv.h"
|
||||
#include "xf86Config.h"
|
||||
#include "xf86Xinput.h"
|
||||
#include "XIstubs.h"
|
||||
#include "xf86Optrec.h"
|
||||
#include "mipointer.h"
|
||||
#include "extinit.h"
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@
|
|||
#include "inputstr.h"
|
||||
#include <X11/extensions/XI.h>
|
||||
#include <X11/extensions/XIproto.h>
|
||||
#include "XIstubs.h"
|
||||
|
||||
/* Input device flags */
|
||||
#define XI86_ALWAYS_CORE 0x04 /* device always controls the pointer */
|
||||
|
|
|
|||
|
|
@ -222,7 +222,6 @@ cat > sdksyms.c << EOF
|
|||
|
||||
|
||||
/* include/Makefile.am */
|
||||
#include "XIstubs.h"
|
||||
#include "Xprintf.h"
|
||||
#include "closure.h"
|
||||
#include "colormap.h"
|
||||
|
|
|
|||
|
|
@ -442,7 +442,6 @@ endif
|
|||
if build_xorg
|
||||
install_data(
|
||||
[
|
||||
'XIstubs.h',
|
||||
'Xprintf.h',
|
||||
'callback.h',
|
||||
'client.h',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue