[PATCH] Add missing prototypes. #14723

Peter Hutterer peter.hutterer at who-t.net
Sun Apr 10 18:05:35 PDT 2011


On Wed, Apr 06, 2011 at 02:43:26PM +1000, Alistair Leslie-Hughes wrote:
> This patch cleans up some compiler warnings.
> 
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=14723
> 
> Best Regards
>  Alistair
> 

> From 70f6b29407964c622ec094512b3249ba41b18248 Mon Sep 17 00:00:00 2001
> From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
> Date: Tue, 5 Apr 2011 20:02:52 +1000
> Subject: [PATCH] Add missing prototypes. #14723
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> This patch is based off the work by
> Paulo C??sar Pereira de Andrade
> 
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=14723
> 
> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
> ---
>  include/X11/extensions/xtestext1.h |   14 ++++++++++++++
>  1 files changed, 14 insertions(+), 0 deletions(-)
> 
> diff --git a/include/X11/extensions/xtestext1.h b/include/X11/extensions/xtestext1.h
> index f7699fb..59cdd15 100644
> --- a/include/X11/extensions/xtestext1.h
> +++ b/include/X11/extensions/xtestext1.h
> @@ -81,4 +81,18 @@ typedef struct {
>  	Window  window;
>  } XTestFakeAckEvent;
>  
> +_XFUNCPROTOBEGIN
> +
> +int XTestFakeInput(register Display *dpy, char *action_list_addr, int action_list_size, int ack_flag);
> +int XTestGetInput(register Display *dpy, int action_handling);
> +int XTestQueryInputSize(register Display *dpy, unsigned long *size_return);
> +int XTestPressKey(Display *display, int device_id, unsigned long delay, unsigned int keycode, unsigned int key_action);
> +int XTestPressButton(Display * display, int device_id, unsigned long delay, unsigned int button_number, unsigned int button_action);
> +int XTestMovePointer(Display *display, int device_id, unsigned long delay[], int x[], int y[], unsigned int count);
> +int XTestFlush(Display *display);
> +int XTestStopInput(register Display *dpy);
> +int XTestReset(register Display *dpy);
> +
> +_XFUNCPROTOEND
> +
>  #endif /* _XTESTEXT1_H */
> -- 
> 1.7.1

merged, thanks.

Cheers,
  Peter


More information about the xorg-devel mailing list