diff --git a/src/add-ons/kernel/drivers/common/zero.c b/src/add-ons/kernel/drivers/common/zero.c index 7490c06ae5..fea72bc3ee 100644 --- a/src/add-ons/kernel/drivers/common/zero.c +++ b/src/add-ons/kernel/drivers/common/zero.c @@ -5,9 +5,11 @@ #include -#include +#include + #include + #define DEVICE_NAME "zero" 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 -init_hardware() +init_hardware(void) { return B_OK; } @@ -108,14 +110,14 @@ find_device(const char *name) status_t -init_driver() +init_driver(void) { return B_OK; } void -uninit_driver() +uninit_driver(void) { }