src/cdrom/openbsd/SDL_syscdrom.c
branchSDL-1.2
changeset 4342 f2800721813d
parent 4159 a1b03ba2fcd0
child 6137 4720145f848b
equal deleted inserted replaced
4341:262d62627860 4342:f2800721813d
   389 }
   389 }
   390 
   390 
   391 /* Eject the CD-ROM */
   391 /* Eject the CD-ROM */
   392 static int SDL_SYS_CDEject(SDL_CD *cdrom)
   392 static int SDL_SYS_CDEject(SDL_CD *cdrom)
   393 {
   393 {
       
   394 	SDL_SYS_CDioctl(cdrom->id, CDIOCALLOW, 0);
   394 	return(SDL_SYS_CDioctl(cdrom->id, CDIOCEJECT, 0));
   395 	return(SDL_SYS_CDioctl(cdrom->id, CDIOCEJECT, 0));
   395 }
   396 }
   396 
   397 
   397 /* Close the CD-ROM handle */
   398 /* Close the CD-ROM handle */
   398 static void SDL_SYS_CDClose(SDL_CD *cdrom)
   399 static void SDL_SYS_CDClose(SDL_CD *cdrom)