[PATCH 4/5] xkb: purge unneeded includes from ddxDevBtn.c

Dan Nicholson dbn.lists at gmail.com
Fri Apr 16 09:00:55 PDT 2010


On Wed, Apr 14, 2010 at 11:08:13AM +1000, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  xkb/ddxDevBtn.c |    9 ---------
>  1 files changed, 0 insertions(+), 9 deletions(-)
> 
> diff --git a/xkb/ddxDevBtn.c b/xkb/ddxDevBtn.c
> index b8a222d..b8a1255 100644
> --- a/xkb/ddxDevBtn.c
> +++ b/xkb/ddxDevBtn.c
> @@ -28,18 +28,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
>  #include <dix-config.h>
>  #endif
>  
> -#include <stdio.h>
> -#include <X11/X.h>
> -#include <X11/Xproto.h>
> -#include <X11/keysym.h>
>  #include "inputstr.h"
> -#include "scrnintstr.h"
> -#include "windowstr.h"
> -#include "eventstr.h"
>  #include <xkbsrv.h>
>  #include "mi.h"
> -#include <X11/extensions/XI.h>
> -#include <X11/extensions/XIproto.h>
>  
>  void
>  XkbDDXFakeDeviceButton(DeviceIntPtr dev,Bool press,int button)
> -- 
> 1.6.6.1

Yeah, that does seem like an extensive amount of headers for one 30 line
function. :)

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>


More information about the xorg-devel mailing list