Fixed warning, small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9139 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4a02ef9f55
commit
a83233417d
@ -5,9 +5,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <Drivers.h>
|
#include <Drivers.h>
|
||||||
#include <vm.h>
|
#include <KernelExport.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
#define DEVICE_NAME "zero"
|
#define DEVICE_NAME "zero"
|
||||||
|
|
||||||
int32 api_version = B_CUR_DRIVER_API_VERSION;
|
int32 api_version = B_CUR_DRIVER_API_VERSION;
|
||||||
@ -63,7 +65,7 @@ zero_write(void *cookie, off_t pos, const void *buffer, size_t *_length)
|
|||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
init_hardware()
|
init_hardware(void)
|
||||||
{
|
{
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
@ -108,14 +110,14 @@ find_device(const char *name)
|
|||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
init_driver()
|
init_driver(void)
|
||||||
{
|
{
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
uninit_driver()
|
uninit_driver(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user