Revision 56d1b4d2 block/raw-posix.c

b/block/raw-posix.c
335 335
    return ret;
336 336
}
337 337

  
338
static int raw_open(BlockDriverState *bs, const char *filename,
339
                    QDict *options, int flags)
338
static int raw_open(BlockDriverState *bs, QDict *options, int flags)
340 339
{
341 340
    BDRVRawState *s = bs->opaque;
342 341

  
......
1325 1324
    return 0;
1326 1325
}
1327 1326

  
1328
static int hdev_open(BlockDriverState *bs, const char *dummy,
1329
                     QDict *options, int flags)
1327
static int hdev_open(BlockDriverState *bs, QDict *options, int flags)
1330 1328
{
1331 1329
    BDRVRawState *s = bs->opaque;
1332 1330
    int ret;
......
1565 1563
};
1566 1564

  
1567 1565
#ifdef __linux__
1568
static int floppy_open(BlockDriverState *bs, const char *filename,
1569
                       QDict *options, int flags)
1566
static int floppy_open(BlockDriverState *bs, QDict *options, int flags)
1570 1567
{
1571 1568
    BDRVRawState *s = bs->opaque;
1572 1569
    int ret;
......
1688 1685
    .bdrv_eject         = floppy_eject,
1689 1686
};
1690 1687

  
1691
static int cdrom_open(BlockDriverState *bs, const char *filename,
1692
                      QDict *options, int flags)
1688
static int cdrom_open(BlockDriverState *bs, QDict *options, int flags)
1693 1689
{
1694 1690
    BDRVRawState *s = bs->opaque;
1695 1691

  
......
1797 1793
#endif /* __linux__ */
1798 1794

  
1799 1795
#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__)
1800
static int cdrom_open(BlockDriverState *bs, const char *filename,
1801
                      QDict *options, int flags)
1796
static int cdrom_open(BlockDriverState *bs, QDict *options, int flags)
1802 1797
{
1803 1798
    BDRVRawState *s = bs->opaque;
1804 1799
    int ret;

Also available in: Unified diff