--- iodev/cdrom_osx.cc Sun Jun 23 22:19:44 2002 +++ iodev/cdrom_osx_monkey.cc Wed Oct 2 16:42:03 2002 @@ -312,7 +312,7 @@ } bool -cdrom_interface::insert_cdrom() +cdrom_interface::insert_cdrom(char *) { mach_port_t masterPort = NULL; --- iodev/cdrom_osx.cc Sun Nov 2 23:19:20 2003 +++ iodev/cdrom_osx_monkey.cc Sun Nov 2 23:20:19 2003 @@ -118,7 +118,7 @@ // which is true if the media is indeed ejectable. So add property // to CFDictionary for matching. CFDictionarySetValue( classesToMatch, - CFSTR( kIOMediaEjectable ), kCFBooleanTrue ); + CFSTR(kIOMediaEjectableKey), kCFBooleanTrue ); } kernResult = IOServiceGetMatchingServices( *masterPort, classesToMatch, mediaIterator ); @@ -143,7 +143,7 @@ { CFTypeRef deviceFilePathAsCFString; deviceFilePathAsCFString = IORegistryEntryCreateCFProperty( - nextMedia, CFSTR( kIOBSDName ), + nextMedia, CFSTR( kIOBSDNameKey ), kCFAllocatorDefault, 0 ); *deviceFilePath = '\0'; if ( deviceFilePathAsCFString )