[PATCH] Change disable_clientpointer return type to void
Peter Hutterer
peter.hutterer at who-t.net
Thu Dec 8 22:05:12 PST 2011
On Thu, Dec 08, 2011 at 09:52:07PM -0800, Alan Coopersmith wrote:
> It doesn't return anything, nor does it's caller expect it to.
>
> Fixes Solaris Studio compiler error:
> "xichangehierarchy.c", line 214: Function has no return statement : disable_clientpointer
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
Keith, please push this, thanks.
> ---
> Xi/xichangehierarchy.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Xi/xichangehierarchy.c b/Xi/xichangehierarchy.c
> index a8bc761..503404e 100644
> --- a/Xi/xichangehierarchy.c
> +++ b/Xi/xichangehierarchy.c
> @@ -200,7 +200,7 @@ unwind:
> return rc;
> }
>
> -static int
> +static void
> disable_clientpointer(DeviceIntPtr dev)
> {
> int i;
> --
> 1.7.3.2
>
More information about the xorg-devel
mailing list