static void adb_kbd_put_keycode(void *opaque, int keycode)

{

    KBDState *s = opaque;



    if (s->count < sizeof(s->data)) {

        s->data[s->wptr] = keycode;

        if (++s->wptr == sizeof(s->data))

            s->wptr = 0;

        s->count++;

    }

}

static void adb_kbd_put_keycode(void *opaque, int keycode)

{

    KBDState *s = opaque;



    if (s->count < sizeof(s->data)) {

        s->data[s->wptr] = keycode;

        if (++s->wptr == sizeof(s->data))

            s->wptr = 0;

        s->count++;

    }

}

static void adb_kbd_put_keycode(void *opaque, int keycode)     KBDState *s = opaque;     if (s->count < sizeof(s->data)) {         s->data[s->wptr] = keycode;         if (++s->wptr == sizeof(s->data))             s->wptr = 0;         s->count++;
static void FUNC_0(void *VAR_0, int VAR_1)

{

    KBDState *s = VAR_0;



    if (s->count < sizeof(s->data)) {

        s->data[s->wptr] = VAR_1;

        if (++s->wptr == sizeof(s->data))

            s->wptr = 0;

        s->count++;

    }

}

static void FUNC_0(void *VAR_0, int VAR_1)
{ KBDState *s = VAR_0; if (s->count < sizeof(s->data)) { s->data[s->wptr] = VAR_1; if (++s->wptr == sizeof(s->data))
s->wptr = 0; s->count++; } }