Revision 51a65271

b/hw/fdc.c
179 179
    const unsigned char *str;
180 180
} fd_format_t;
181 181

  
182
static fd_format_t fd_formats[] = {
182
static const fd_format_t fd_formats[] = {
183 183
    /* First entry is default format */
184 184
    /* 1.44 MB 3"1/2 floppy disks */
185 185
    { FDRIVE_DRV_144, FDRIVE_DISK_144, 18, 80, 1, "1.44 MB 3\"1/2", },
......
229 229
/* Revalidate a disk drive after a disk change */
230 230
static void fd_revalidate (fdrive_t *drv)
231 231
{
232
    fd_format_t *parse;
232
    const fd_format_t *parse;
233 233
    int64_t nb_sectors, size;
234 234
    int i, first_match, match;
235 235
    int nb_heads, max_track, last_sect, ro;

Also available in: Unified diff