changed return types for "std_ops" functions from int to int32, fixes warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1260 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -26,7 +26,7 @@ static status_t cfdm_get_next_device_info(bus_type bus, uint64 *cookie,
|
||||
}
|
||||
|
||||
/* device_modules */
|
||||
static int cfdm_std_ops(int32 op, ...)
|
||||
static int32 cfdm_std_ops(int32 op, ...)
|
||||
{
|
||||
switch(op) {
|
||||
case B_MODULE_INIT:
|
||||
@@ -46,7 +46,7 @@ static int cfdm_std_ops(int32 op, ...)
|
||||
}
|
||||
|
||||
/* bus_modules */
|
||||
static int cfbm_std_ops(int32 op, ...)
|
||||
static int32 cfbm_std_ops(int32 op, ...)
|
||||
{
|
||||
switch(op) {
|
||||
case B_MODULE_INIT:
|
||||
|
||||
@@ -80,7 +80,7 @@ static long unlock_isa_dma_channel(long channel)
|
||||
return ENOSYS;
|
||||
}
|
||||
|
||||
static int std_ops(int32 op, ...)
|
||||
static int32 std_ops(int32 op, ...)
|
||||
{
|
||||
switch(op) {
|
||||
case B_MODULE_INIT:
|
||||
|
||||
@@ -1373,7 +1373,7 @@ pci_module_uninit(void)
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
static int32
|
||||
std_ops(int32 op, ...)
|
||||
{
|
||||
switch(op) {
|
||||
|
||||
Reference in New Issue
Block a user