Indent with tabs.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21244 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2007-05-26 00:32:35 +00:00
parent a85d740cc0
commit b9a0731d88
+11 -11
View File
@@ -28,18 +28,18 @@ static status_t mem_write(void*, off_t, const void*, size_t*);
static area_id mem_map_target(off_t position, size_t len, uint32 protection, void **va); static area_id mem_map_target(off_t position, size_t len, uint32 protection, void **va);
static const char* mem_name[] = { static const char* mem_name[] = {
DEVICE_NAME, DEVICE_NAME,
#ifdef PUBLISH_DEV_MEM #ifdef PUBLISH_DEV_MEM
DRIVER_NAME, DRIVER_NAME,
#endif #endif
NULL NULL
}; };
device_hooks mem_hooks = { device_hooks mem_hooks = {
mem_open, mem_open,
mem_close, mem_close,
mem_free, mem_free,
NULL, /*mem_control,*/ NULL, /*mem_control,*/
mem_read, mem_read,
mem_write, mem_write,
@@ -50,14 +50,14 @@ int32 api_version = B_CUR_DRIVER_API_VERSION;
status_t status_t
init_hardware(void) init_hardware(void)
{ {
return B_OK; return B_OK;
} }
status_t status_t
init_driver(void) init_driver(void)
{ {
return B_OK; return B_OK;
} }
@@ -70,7 +70,7 @@ uninit_driver(void)
const char** const char**
publish_devices(void) publish_devices(void)
{ {
return mem_name; return mem_name;
} }
@@ -85,23 +85,23 @@ status_t
mem_open(const char* name, uint32 flags, void** cookie) mem_open(const char* name, uint32 flags, void** cookie)
{ {
// not really needed. // not really needed.
*cookie = NULL; *cookie = NULL;
return B_OK; return B_OK;
} }
status_t status_t
mem_close(void* cookie) mem_close(void* cookie)
{ {
return B_OK; return B_OK;
} }
status_t status_t
mem_free(void* cookie) mem_free(void* cookie)
{ {
return B_OK; return B_OK;
} }
/* /*