diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2011-06-06 16:53:41 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-06-06 08:47:56 -0700 |
commit | 21eec367d0d9c142458f973062e17add4f693033 (patch) | |
tree | 371d6290847fcaabcf6f577805eaca42b79043a5 /randr | |
parent | feab04397de2684568dedaaaa8f299cac9f44f8b (diff) |
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>
Diffstat (limited to 'randr')
-rw-r--r-- | randr/rrcrtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index d4d8f2ad2..0437795c4 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -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); } /* |