]> Git Repo - qemu.git/blobdiff - hw/stream.c
Make all static TypeInfos const
[qemu.git] / hw / stream.c
index be57e8b247d6fb0f5fbe7b04c1bee6657225d11e..d4cf84d4c03183f1fc9d2593910a0e3c9e609f19 100644 (file)
@@ -8,7 +8,7 @@ stream_push(StreamSlave *sink, uint8_t *buf, size_t len, uint32_t *app)
     k->push(sink, buf, len, app);
 }
 
-static TypeInfo stream_slave_info = {
+static const TypeInfo stream_slave_info = {
     .name          = TYPE_STREAM_SLAVE,
     .parent        = TYPE_INTERFACE,
     .class_size = sizeof(StreamSlaveClass),
This page took 0.019724 seconds and 4 git commands to generate.