[dev/lib][warnings] fix -Wmissing-declarations warnings in dev/ and lib/
This commit is contained in:
@@ -535,7 +535,7 @@ static int virtio_gpu_flush_thread(void *arg) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void virtio_gpu_gfx_flush(uint starty, uint endy) {
|
||||
static void virtio_gpu_gfx_flush(uint starty, uint endy) {
|
||||
event_signal(&the_gdev->flush_event, !arch_ints_disabled());
|
||||
}
|
||||
|
||||
|
||||
@@ -380,7 +380,7 @@ void virtio_status_driver_ok(struct virtio_device *dev) {
|
||||
dev->mmio_config->status |= VIRTIO_STATUS_DRIVER_OK;
|
||||
}
|
||||
|
||||
void virtio_init(uint level) {
|
||||
static void virtio_init(uint level) {
|
||||
}
|
||||
|
||||
LK_INIT_HOOK(virtio, &virtio_init, LK_INIT_LEVEL_THREADING);
|
||||
|
||||
Reference in New Issue
Block a user