Fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11515 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2004 Haiku, Inc.
|
* Copyright 2004-2005 Haiku, Inc.
|
||||||
* Distributed under the terms of the Haiku License.
|
* Distributed under the terms of the Haiku License.
|
||||||
*
|
*
|
||||||
* common.c:
|
* common.c:
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <Drivers.h>
|
#include <Drivers.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2001-2004 Haiku, Inc.
|
* Copyright 2001-2005 Haiku, Inc.
|
||||||
* Distributed under the terms of the Haiku License.
|
* Distributed under the terms of the Haiku License.
|
||||||
*
|
*
|
||||||
* ps2mouse.c:
|
* ps2mouse.c:
|
||||||
@@ -79,7 +79,7 @@ static bigtime_t sClickSpeed;
|
|||||||
static int32 sClickCount;
|
static int32 sClickCount;
|
||||||
static int sButtonsState;
|
static int sButtonsState;
|
||||||
|
|
||||||
static uint32 sPacketSize;
|
static int32 sPacketSize;
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// mouse functions
|
// mouse functions
|
||||||
@@ -268,7 +268,7 @@ mouse_open(const char *name, uint32 flags, void **cookie)
|
|||||||
{
|
{
|
||||||
status_t status;
|
status_t status;
|
||||||
int8 commandByte;
|
int8 commandByte;
|
||||||
int8 deviceId;
|
int8 deviceId = -1;
|
||||||
|
|
||||||
TRACE(("mouse_open()\n"));
|
TRACE(("mouse_open()\n"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user