[PATCH 2/2] kdrive: do not undef DEBUG macro in mouse driver

Peter Hutterer peter.hutterer at who-t.net
Tue May 26 17:15:52 PDT 2009


On Tue, May 26, 2009 at 03:30:14PM +0200, Olivier Blin wrote:
> The mouse driver had some code to unconditionnally disable debug, even
> if configured with --enable-debug. This adds back the mouse driver
> debug output when built with debug option.
> 
> Signed-off-by: Olivier Blin <blino at mandriva.com>
> ---
>  hw/kdrive/linux/mouse.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/kdrive/linux/mouse.c b/hw/kdrive/linux/mouse.c
> index 253da26..8b638ae 100644
> --- a/hw/kdrive/linux/mouse.c
> +++ b/hw/kdrive/linux/mouse.c
> @@ -32,7 +32,6 @@
>  #include "scrnintstr.h"
>  #include "kdrive.h"
>  
> -#undef DEBUG
>  #undef DEBUG_BYTES

what about DEBUG_BYTES? Is that of any importance? Why is it undef'd?

>  #define KBUFIO_SIZE 256
>  #define MOUSE_TIMEOUT	100

Cheers,
  Peter



More information about the xorg mailing list