Some minor cleanup.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10302 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-11-30 17:55:42 +00:00
parent a6e322002b
commit 1ed378f0cc
@@ -1,6 +1,6 @@
/*
** Copyright 2002/03, Thomas Kurschel. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
* Copyright 2002/03, Thomas Kurschel. All rights reserved.
* Distributed under the terms of the MIT License.
*/
/*
@@ -13,10 +13,12 @@
normal (floppy/hard/ZIP)-disk drives.
*/
#include "scsi_dsk_int.h"
#include <scsi.h>
#include <string.h>
extern blkdev_interface das_interface;
scsi_periph_interface *scsi_periph;
@@ -172,8 +174,7 @@ das_media_changed(das_device_info *device, scsi_ccb *request)
scsi_periph_callbacks callbacks = {
(void (*)( periph_device_cookie,
uint64, uint32 )) das_set_capacity,
(void (*)(periph_device_cookie, uint64, uint32))das_set_capacity,
(void (*)(periph_device_cookie, scsi_ccb *))das_media_changed
};
@@ -270,8 +271,7 @@ blkdev_interface scsi_dsk_module = {
#if !_BUILDING_kernel && !BOOT
_EXPORT
module_info *modules[] =
{
module_info *modules[] = {
(module_info *)&scsi_dsk_module,
NULL
};