diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-05-14 19:32:21 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-14 19:32:21 +0000 |
commit | 26a823305d7fdf369453a8caf5efdd467acddc8c (patch) | |
tree | 6b05d3595e644736f8ce6162fd80f088c6f175b9 | |
parent | af2960f942577a0d48f7368ca90fbaa783e77ac3 (diff) | |
download | hqemu-26a823305d7fdf369453a8caf5efdd467acddc8c.zip hqemu-26a823305d7fdf369453a8caf5efdd467acddc8c.tar.gz |
cpus: add one 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | cpus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ static int io_thread_fd = -1; static void qemu_event_increment(void) { /* Write 8 bytes to be compatible with eventfd. */ - static uint64_t val = 1; + static const uint64_t val = 1; ssize_t ret; if (io_thread_fd == -1) |