summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-03-19 12:26:29 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-24 17:21:26 +0000
commit23702dd2689e2e1e65be5767ac0303a985bb04a0 (patch)
treec705f0d9efb96431d3cfee6ac801d62a82ee5a7c /randr
parent739e8fac0e9d8d4c1653e53a8f3ce2d38b3de320 (diff)
randr: coding style fixes
In most of xserver code-base we define new functions at column 0, with their return type provided on the previous line. Two functions did not follow this rule so update them, and get them wrapped up to 80 as an added bonus. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'randr')
-rw-r--r--randr/rrcrtc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index 0df96a4be..e235c5ff8 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -1575,7 +1575,8 @@ ProcRRGetCrtcTransform(ClientPtr client)
return Success;
}
-static Bool check_all_screen_crtcs(ScreenPtr pScreen, int *x, int *y)
+static Bool
+check_all_screen_crtcs(ScreenPtr pScreen, int *x, int *y)
{
rrScrPriv(pScreen);
int i;
@@ -1595,7 +1596,8 @@ static Bool check_all_screen_crtcs(ScreenPtr pScreen, int *x, int *y)
return FALSE;
}
-static Bool constrain_all_screen_crtcs(DeviceIntPtr pDev, ScreenPtr pScreen, int *x, int *y)
+static Bool
+constrain_all_screen_crtcs(DeviceIntPtr pDev, ScreenPtr pScreen, int *x, int *y)
{
rrScrPriv(pScreen);
int i;