[dev/lib][warnings] fix -Wmissing-declarations warnings in dev/ and lib/

This commit is contained in:
Travis Geiselbrecht
2021-10-21 23:16:20 -07:00
parent a895bcece5
commit fcb65c9a88
28 changed files with 49 additions and 24 deletions

View File

@@ -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());
}

View File

@@ -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);