From f50ac4deec13dfd070715f636887e12f6301070f Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Fri, 31 Mar 2006 14:50:24 +0000 Subject: Mass reindent. Sorry. --- src/XDevBell.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'src/XDevBell.c') diff --git a/src/XDevBell.c b/src/XDevBell.c index 2b7669f..276a1b8 100644 --- a/src/XDevBell.c +++ b/src/XDevBell.c @@ -61,20 +61,20 @@ SOFTWARE. #include "XIint.h" int -XDeviceBell (dpy, dev, feedbackclass, feedbackid, percent) - register Display *dpy; - XDevice *dev; - XID feedbackclass, feedbackid; - int percent; - { - xDeviceBellReq *req; - XExtDisplayInfo *info = XInput_find_display (dpy); - - LockDisplay (dpy); +XDeviceBell(dpy, dev, feedbackclass, feedbackid, percent) + register Display *dpy; + XDevice *dev; + XID feedbackclass, feedbackid; + int percent; +{ + xDeviceBellReq *req; + XExtDisplayInfo *info = XInput_find_display(dpy); + + LockDisplay(dpy); if (_XiCheckExtInit(dpy, XInput_Add_XDeviceBell) == -1) return (NoSuchExtension); - GetReq(DeviceBell,req); + GetReq(DeviceBell, req); req->reqType = info->codes->major_opcode; req->ReqType = X_DeviceBell; req->deviceid = dev->device_id; @@ -85,5 +85,4 @@ XDeviceBell (dpy, dev, feedbackclass, feedbackid, percent) UnlockDisplay(dpy); SyncHandle(); return (Success); - } - +} -- cgit v1.2.3