Don't rely on compatability with 0.72. Use new type names.

This commit is contained in:
rocky
2005-03-06 00:03:53 +00:00
parent 399fbf5013
commit 3e84283fa8
10 changed files with 37 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: mmc1.cpp,v 1.1 2005/02/19 11:42:18 rocky Exp $
$Id: mmc1.cpp,v 1.2 2005/03/06 00:03:53 rocky Exp $
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
@@ -44,9 +44,9 @@ main(int argc, const char *argv[])
printf("Couldn't find CD\n");
return 1;
} else {
int i_status; /* Result of MMC command */
char buf[36] = { 0, }; /* Place to hold returned data */
scsi_mmc_cdb_t cdb = {{0, }}; /* Command Descriptor Buffer */
int i_status; /* Result of MMC command */
char buf[36] = { 0, }; /* Place to hold returned data */
mmc_cdb_t cdb = {{0, }}; /* Command Descriptor Buffer */
CDIO_MMC_SET_COMMAND(cdb.field, CDIO_MMC_GPCMD_INQUIRY);
cdb.field[4] = sizeof(buf);