Fixed the messed up indentation (8 spaces instead of tabs)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@309 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-07-18 15:03:13 +00:00
parent eb0471173e
commit de8acfc621
+15 -5
View File
@@ -29,14 +29,18 @@ struct io_vector {
static struct io_vector *io_vectors = NULL; static struct io_vector *io_vectors = NULL;
int int_init(kernel_args *ka)
int
int_init(kernel_args *ka)
{ {
dprintf("init_int_handlers: entry\n"); dprintf("init_int_handlers: entry\n");
return arch_int_init(ka); return arch_int_init(ka);
} }
int int_init2(kernel_args *ka)
int
int_init2(kernel_args *ka)
{ {
io_vectors = (struct io_vector *)kmalloc(sizeof(struct io_vectors *) * NUM_IO_VECTORS); io_vectors = (struct io_vector *)kmalloc(sizeof(struct io_vectors *) * NUM_IO_VECTORS);
if (io_vectors == NULL) if (io_vectors == NULL)
@@ -47,7 +51,9 @@ int int_init2(kernel_args *ka)
return arch_int_init2(ka); return arch_int_init2(ka);
} }
int int_set_io_interrupt_handler(int vector, int (*func)(void*), void* data)
int
int_set_io_interrupt_handler(int vector, int (*func)(void*), void* data)
{ {
struct io_handler *io; struct io_handler *io;
int state; int state;
@@ -73,7 +79,9 @@ int int_set_io_interrupt_handler(int vector, int (*func)(void*), void* data)
return 0; return 0;
} }
int int_remove_io_interrupt_handler(int vector, int (*func)(void*), void* data)
int
int_remove_io_interrupt_handler(int vector, int (*func)(void*), void* data)
{ {
struct io_handler *io, *prev = NULL; struct io_handler *io, *prev = NULL;
int state; int state;
@@ -120,7 +128,9 @@ int int_remove_io_interrupt_handler(int vector, int (*func)(void*), void* data)
return (io != NULL) ? 0 : EINVAL; return (io != NULL) ? 0 : EINVAL;
} }
int int_io_interrupt_handler(int vector)
int
int_io_interrupt_handler(int vector)
{ {
int ret = INT_NO_RESCHEDULE; int ret = INT_NO_RESCHEDULE;