mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
Xi: make ListDeviceClasses() static
Only used within the same source file, so can be made static. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
5df7b1fa5c
commit
61eb2e2675
@@ -518,6 +518,9 @@ GetDeviceUse(DeviceIntPtr dev, uint16_t * attachment)
|
||||
return use;
|
||||
}
|
||||
|
||||
static int ListDeviceClasses(ClientPtr client, DeviceIntPtr dev, char *any,
|
||||
uint16_t * nclasses);
|
||||
|
||||
/**
|
||||
* Write the info for device dev into the buffer pointed to by info.
|
||||
*
|
||||
@@ -551,7 +554,7 @@ ListDeviceInfo(ClientPtr client, DeviceIntPtr dev, xXIDeviceInfo * info)
|
||||
* nclasses to the number of classes in total and return the number of bytes
|
||||
* written.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
ListDeviceClasses(ClientPtr client, DeviceIntPtr dev,
|
||||
char *any, uint16_t * nclasses)
|
||||
{
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
int SProcXIQueryDevice(ClientPtr client);
|
||||
int ProcXIQueryDevice(ClientPtr client);
|
||||
int SizeDeviceClasses(DeviceIntPtr dev);
|
||||
int ListDeviceClasses(ClientPtr client, DeviceIntPtr dev,
|
||||
char *any, uint16_t * nclasses);
|
||||
int GetDeviceUse(DeviceIntPtr dev, uint16_t * attachment);
|
||||
int ListButtonInfo(DeviceIntPtr dev, xXIButtonInfo * info, Bool reportState);
|
||||
int ListKeyInfo(DeviceIntPtr dev, xXIKeyInfo * info);
|
||||
|
||||
Reference in New Issue
Block a user