mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
xkb: drop some junk comments
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
a173278c4f
commit
1487c7c03f
46
xkb/xkb.c
46
xkb/xkb.c
@@ -58,8 +58,6 @@ static CARD32 xkbDebugCtrls = 0;
|
||||
|
||||
RESTYPE RT_XKBCLIENT = 0;
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
#define CHK_DEVICE(dev, id, client, access_mode, lf) {\
|
||||
int why;\
|
||||
int tmprc = lf(&(dev), id, client, access_mode, &why);\
|
||||
@@ -170,8 +168,6 @@ _XkbCheckRequestBounds(ClientPtr client, void *stuff, void *from, void *to) {
|
||||
cto <= cstuff + ((size_t)client->req_len << 2);
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbUseExtension(ClientPtr client)
|
||||
{
|
||||
@@ -219,8 +215,6 @@ ProcXkbUseExtension(ClientPtr client)
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbSelectEvents(ClientPtr client)
|
||||
{
|
||||
@@ -450,7 +444,6 @@ ProcXkbSelectEvents(ClientPtr client)
|
||||
return BadAlloc;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
/**
|
||||
* Ring a bell on the given device for the given client.
|
||||
*/
|
||||
@@ -661,8 +654,6 @@ ProcXkbBell(ClientPtr client)
|
||||
return rc;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbGetState(ClientPtr client)
|
||||
{
|
||||
@@ -702,8 +693,6 @@ ProcXkbGetState(ClientPtr client)
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbLatchLockState(ClientPtr client)
|
||||
{
|
||||
@@ -774,8 +763,6 @@ ProcXkbLatchLockState(ClientPtr client)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbGetControls(ClientPtr client)
|
||||
{
|
||||
@@ -1098,8 +1085,6 @@ ProcXkbSetControls(ClientPtr client)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static int
|
||||
XkbSizeKeyTypes(XkbDescPtr xkb, xkbGetMapReply * rep)
|
||||
{
|
||||
@@ -1624,8 +1609,6 @@ ProcXkbGetMap(ClientPtr client)
|
||||
return X_SEND_REPLY_WITH_RPCBUF(client, rep, rpcbuf);
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static int
|
||||
CheckKeyTypes(ClientPtr client,
|
||||
XkbDescPtr xkb,
|
||||
@@ -2842,8 +2825,6 @@ ProcXkbSetMap(ClientPtr client)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static Status
|
||||
XkbComputeGetCompatMapReplySize(XkbCompatMapPtr compat,
|
||||
xkbGetCompatMapReply * rep)
|
||||
@@ -3178,8 +3159,6 @@ ProcXkbSetCompatMap(ClientPtr client)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbGetIndicatorState(ClientPtr client)
|
||||
{
|
||||
@@ -3214,8 +3193,6 @@ ProcXkbGetIndicatorState(ClientPtr client)
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static Status
|
||||
XkbComputeGetIndicatorMapReplySize(XkbIndicatorPtr indicators,
|
||||
xkbGetIndicatorMapReply * rep)
|
||||
@@ -3417,8 +3394,6 @@ ProcXkbSetIndicatorMap(ClientPtr client)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbGetNamedIndicator(ClientPtr client)
|
||||
{
|
||||
@@ -3699,8 +3674,6 @@ ProcXkbSetNamedIndicator(ClientPtr client)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static CARD32
|
||||
_XkbCountAtoms(Atom *atoms, int maxAtoms, int *count)
|
||||
{
|
||||
@@ -3964,8 +3937,6 @@ ProcXkbGetNames(ClientPtr client)
|
||||
return X_SEND_REPLY_WITH_RPCBUF(client, rep, rpcbuf);
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static CARD32 *
|
||||
_XkbCheckAtoms(CARD32 *wire, int nAtoms, int swapped, Atom *pError)
|
||||
{
|
||||
@@ -4495,8 +4466,6 @@ ProcXkbSetNames(ClientPtr client)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
#include "xkbgeom.h"
|
||||
|
||||
#define XkbSizeCountedString(s) ((s)?((((2+strlen(s))+3)/4)*4):4)
|
||||
@@ -4979,8 +4948,6 @@ free_out:
|
||||
return status;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static Status
|
||||
_GetCountedString(char **wire_inout, ClientPtr client, char **str)
|
||||
{
|
||||
@@ -5567,8 +5534,6 @@ ProcXkbSetGeometry(ClientPtr client)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbPerClientFlags(ClientPtr client)
|
||||
{
|
||||
@@ -5648,8 +5613,6 @@ ProcXkbPerClientFlags(ClientPtr client)
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
/* all latin-1 alphanumerics, plus parens, minus, underscore, slash */
|
||||
/* and wildcards */
|
||||
static unsigned const char componentSpecLegal[] = {
|
||||
@@ -5719,8 +5682,6 @@ GetComponentSpec(ClientPtr client, xkbGetKbdByNameReq *stuff,
|
||||
return (char *) str;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbListComponents(ClientPtr client)
|
||||
{
|
||||
@@ -5806,7 +5767,6 @@ XkbConvertGetByNameComponents(Bool toXkm, unsigned orig)
|
||||
return rtrn;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
int
|
||||
ProcXkbGetKbdByName(ClientPtr client)
|
||||
{
|
||||
@@ -6210,8 +6170,6 @@ ProcXkbGetKbdByName(ClientPtr client)
|
||||
return status;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static int
|
||||
ComputeDeviceLedInfoSize(DeviceIntPtr dev,
|
||||
unsigned int what, XkbSrvLedInfoPtr sli)
|
||||
@@ -6912,8 +6870,6 @@ ProcXkbSetDeviceInfo(ClientPtr client)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
int
|
||||
ProcXkbSetDebuggingFlags(ClientPtr client)
|
||||
{
|
||||
@@ -6983,8 +6939,6 @@ ProcXkbSetDebuggingFlags(ClientPtr client)
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static int
|
||||
ProcXkbDispatch(ClientPtr client)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user