mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 13:10:24 +01:00
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>
(cherry picked from commit 21eec367d0)
This commit is contained in:
parent
fe4af41314
commit
caaf263b93
1 changed files with 1 additions and 1 deletions
|
|
@ -538,7 +538,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…
Add table
Reference in a new issue