diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 06:45:34 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 06:45:34 +0000 |
commit | 7ccfb2eb5f9d91bdb4139cb420a3b5f8deb2f6e8 (patch) | |
tree | 29ccfd792bcd8109ef331d031b6f04d89b99b310 /hw/tc58128.c | |
parent | 5d0c5750bb19212c8ecfb9660956611baf6aa861 (diff) |
Fix warnings that would be caused by gcc flag -Wwrite-strings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5206 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/tc58128.c')
-rw-r--r-- | hw/tc58128.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/tc58128.c b/hw/tc58128.c index 2cd176b945..37f5419582 100644 --- a/hw/tc58128.c +++ b/hw/tc58128.c @@ -26,7 +26,7 @@ static tc58128_dev tc58128_devs[2]; #define FLASH_SIZE (16*1024*1024) -void init_dev(tc58128_dev * dev, char *filename) +static void init_dev(tc58128_dev * dev, const char *filename) { int ret, blocks; @@ -175,7 +175,7 @@ static sh7750_io_device tc58128 = { tc58128_cb /* Callback */ }; -int tc58128_init(struct SH7750State *s, char *zone1, char *zone2) +int tc58128_init(struct SH7750State *s, const char *zone1, const char *zone2) { init_dev(&tc58128_devs[0], zone1); init_dev(&tc58128_devs[1], zone2); |