Xext: XGE: change function definition to have return value on separate line.
This seems to be the common style in most parts of the server.
This commit is contained in:
parent
d0890c40b9
commit
cc13f87cd8
22
Xext/geext.c
22
Xext/geext.c
|
@ -64,7 +64,8 @@ static void SGEGenericEvent(xEvent* from, xEvent* to);
|
|||
/* request handlers */
|
||||
/************************************************************/
|
||||
|
||||
static int ProcGEQueryVersion(ClientPtr client)
|
||||
static int
|
||||
ProcGEQueryVersion(ClientPtr client)
|
||||
{
|
||||
int n;
|
||||
GEClientInfoPtr pGEClient = GEGetClient(client);
|
||||
|
@ -160,7 +161,8 @@ SProcGEDispatch(ClientPtr client)
|
|||
* We alloc a simple struct to store the client's major/minor version. Can be
|
||||
* used in the furture for versioning support.
|
||||
*/
|
||||
static void GEClientCallback(CallbackListPtr *list,
|
||||
static void
|
||||
GEClientCallback(CallbackListPtr *list,
|
||||
pointer closure,
|
||||
pointer data)
|
||||
{
|
||||
|
@ -256,12 +258,11 @@ GEExtensionInit(void)
|
|||
* @param ev_fill Called for an event before delivery. The extension now has
|
||||
* the chance to fill in necessary fields for the event.
|
||||
*/
|
||||
void GERegisterExtension(
|
||||
int extension,
|
||||
void
|
||||
GERegisterExtension(int extension,
|
||||
void (*ev_swap)(xGenericEvent* from, xGenericEvent* to),
|
||||
void (*ev_fill)(xGenericEvent* ev, DeviceIntPtr pDev,
|
||||
WindowPtr pWin, GrabPtr pGrab)
|
||||
)
|
||||
WindowPtr pWin, GrabPtr pGrab))
|
||||
{
|
||||
if ((extension & 0x7F) >= MAXEXTENSIONS)
|
||||
FatalError("GE: extension > MAXEXTENSIONS. This should not happen.\n");
|
||||
|
@ -275,7 +276,8 @@ void GERegisterExtension(
|
|||
/* Sets type and extension field for a generic event. This is just an
|
||||
* auxiliary function, extensions could do it manually too.
|
||||
*/
|
||||
void GEInitEvent(xGenericEvent* ev, int extension)
|
||||
void
|
||||
GEInitEvent(xGenericEvent* ev, int extension)
|
||||
{
|
||||
ev->type = GenericEvent;
|
||||
ev->extension = extension;
|
||||
|
@ -312,7 +314,8 @@ GERecalculateWinMask(WindowPtr pWin)
|
|||
}
|
||||
|
||||
/* Set generic event mask for given window. */
|
||||
void GEWindowSetMask(ClientPtr pClient, DeviceIntPtr pDev,
|
||||
void
|
||||
GEWindowSetMask(ClientPtr pClient, DeviceIntPtr pDev,
|
||||
WindowPtr pWin, int extension, Mask mask)
|
||||
{
|
||||
GenericMaskPtr cli;
|
||||
|
@ -397,7 +400,8 @@ void GEWindowSetMask(ClientPtr pClient, DeviceIntPtr pDev,
|
|||
* @param extension Extension ID
|
||||
* @param mask Event mask
|
||||
*/
|
||||
BOOL GEDeviceMaskIsSet(WindowPtr pWin, DeviceIntPtr pDev,
|
||||
BOOL
|
||||
GEDeviceMaskIsSet(WindowPtr pWin, DeviceIntPtr pDev,
|
||||
int extension, Mask mask)
|
||||
{
|
||||
GenericMaskPtr gemask;
|
||||
|
|
Loading…
Reference in New Issue
Block a user