randr: void function cannot return value
Providing an argument to return in a function with void return type is not allowed by the C standard, and makes the Sun compilers unhappy. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
feab04397d
commit
21eec367d0
|
@ -632,7 +632,7 @@ RRModeGetScanoutSize (RRModePtr mode, PictTransformPtr transform,
|
|||
void
|
||||
RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height)
|
||||
{
|
||||
return RRModeGetScanoutSize (crtc->mode, &crtc->transform, width, height);
|
||||
RRModeGetScanoutSize (crtc->mode, &crtc->transform, width, height);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue