Resolved some compiler warnings

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8678 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
haydentech 2004-08-27 15:23:39 +00:00
parent e7b9acd7b1
commit 2b7da86751

View File

@ -32,7 +32,6 @@
#include <ServerProtocol.h>
#include <ScrollBar.h>
#include <Screen.h>
#include <PortMessage.h>
#include <Roster.h>
#include <Menu.h>
#include <stdlib.h>
@ -75,7 +74,7 @@ set_screen_space(int32 index, uint32 res, bool stick)
}
status_t
_IMPEXP_BE status_t
get_scroll_bar_info(scroll_bar_info *info)
{
if (info == NULL)
@ -139,7 +138,7 @@ get_mouse_map(mouse_map *map)
BMessage command(IS_GET_MOUSE_MAP);
BMessage reply;
const void *data = 0;
int32 count;
ssize_t count;
_control_input_server_(&command, &reply);
@ -312,7 +311,8 @@ get_key_info(key_info *info)
BMessage command(IS_GET_KEY_INFO);
BMessage reply;
const void *data = 0;
int32 count, err;
int32 err;
ssize_t count;
_control_input_server_(&command, &reply);
@ -332,7 +332,7 @@ get_key_map(key_map **map, char **key_buffer)
{
BMessage command(IS_GET_KEY_MAP);
BMessage reply;
int32 map_count, key_count;
ssize_t map_count, key_count;
const void *map_array = 0, *key_array = 0;
_control_input_server_(&command, &reply);