Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 234570 | Differences between
and this patch

Collapse All | Expand All

(-)xf86-input-evtouch-0.8.7/evtouch.c (-2 / +2 lines)
Lines 605-611 Link Here
605
        DBGOUT(2, "EVTouch: %s btn_count=%d\n", __FUNCTION__, 
595
        DBGOUT(2, "EVTouch: %s btn_count=%d\n", __FUNCTION__, 
606
               priv->btn_count);
596
               priv->btn_count);
607
        priv->btn_actions = xcalloc(priv->btn_count, sizeof(BtnAction));
597
        priv->btn_actions = xcalloc(priv->btn_count, sizeof(BtnAction));
608
        xf86memset(priv->btn_actions, 0, 
598
        memset(priv->btn_actions, 0, 
609
                   priv->btn_count * sizeof(BtnAction));
599
                   priv->btn_count * sizeof(BtnAction));
610
        
600
        
611
        DBGOUT(2, "EVTouch: %s btn_count=%d\n", __FUNCTION__, 
601
        DBGOUT(2, "EVTouch: %s btn_count=%d\n", __FUNCTION__, 
Lines 708-714 Link Here
708
static void
698
static void
709
EVTouchNewPacket (EVTouchPrivatePtr priv)
699
EVTouchNewPacket (EVTouchPrivatePtr priv)
710
{
700
{
711
        xf86memset(&priv->ev, 0, sizeof(struct input_event));
701
        memset(&priv->ev, 0, sizeof(struct input_event));
712
        priv->packeti = 0;
702
        priv->packeti = 0;
713
        priv->binary_pkt = FALSE;
703
        priv->binary_pkt = FALSE;
714
}
704
}
(-)xf86-input-evtouch-0.8.7/libtouch.c (-2 / +1 lines)
Lines 34-40 Link Here
34
#ifndef NEED_XF86_TYPES
34
#ifndef NEED_XF86_TYPES
35
#define NEED_XF86_TYPES
35
#define NEED_XF86_TYPES
36
#endif
36
#endif
37
#include <xf86_ansic.h>
38
#include <xf86_OSproc.h>
37
#include <xf86_OSproc.h>
39
#include <xf86Xinput.h>
38
#include <xf86Xinput.h>
40
#include <exevents.h>
39
#include <exevents.h>
Lines 196-202 Link Here
196
        int btn;
195
        int btn;
197
        char *str;
196
        char *str;
198
197
199
        xf86memset(libtouch, 0, sizeof(LibTouchRec));
198
        memset(libtouch, 0, sizeof(LibTouchRec));
200
199
201
        libtouch->now = GetTimeInMillis();
200
        libtouch->now = GetTimeInMillis();
202
        libtouch->past = libtouch->now;
201
        libtouch->past = libtouch->now;

Return to bug 234570