aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-04 12:00:17 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-04 12:00:17 +0000
commit51a652717490eaa2d1d03cfa940126ac538f6bdc (patch)
tree4908c6e8b6fd161e02d0562dc8239bd3b96fcac8
parent741402f933bbc41eb0a51b10c7053718fca46a14 (diff)
Constification
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3529 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/fdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/fdc.c b/hw/fdc.c
index c124fb7025..26a11da983 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -179,7 +179,7 @@ typedef struct fd_format_t {
const unsigned char *str;
} fd_format_t;
-static fd_format_t fd_formats[] = {
+static const fd_format_t fd_formats[] = {
/* First entry is default format */
/* 1.44 MB 3"1/2 floppy disks */
{ FDRIVE_DRV_144, FDRIVE_DISK_144, 18, 80, 1, "1.44 MB 3\"1/2", },
@@ -229,7 +229,7 @@ static fd_format_t fd_formats[] = {
/* Revalidate a disk drive after a disk change */
static void fd_revalidate (fdrive_t *drv)
{
- fd_format_t *parse;
+ const fd_format_t *parse;
int64_t nb_sectors, size;
int i, first_match, match;
int nb_heads, max_track, last_sect, ro;