Deprecate some defines - patch from Nicolas Boullis.

This commit is contained in:
rocky
2012-02-19 13:04:36 -05:00
parent e4b4d564ef
commit 12876c81fd
2 changed files with 5 additions and 5 deletions

2
NEWS
View File

@@ -1,4 +1,4 @@
version 0.83 (git) version 0.83
- Add retrieval SCSI sense reply from the most-recent MMC command. - Add retrieval SCSI sense reply from the most-recent MMC command.
- Add exclusive read/write access for devices which is used for experimental - Add exclusive read/write access for devices which is used for experimental

View File

@@ -200,10 +200,10 @@ extern "C" {
enumeration in driver_id_t. Since we have a bogus (but useful) 0th enumeration in driver_id_t. Since we have a bogus (but useful) 0th
entry above we don't have to add one. entry above we don't have to add one.
*/ */
#define CDIO_MIN_DRIVER DRIVER_AIX static const driver_id_t CDIO_MIN_DRIVER __attribute__ ((deprecated("please use cdio_drivers"))) = DRIVER_AIX;
#define CDIO_MIN_DEVICE_DRIVER CDIO_MIN_DRIVER static const driver_id_t CDIO_MIN_DEVICE_DRIVER __attribute__ ((deprecated("please use cdio_device_drivers"))) = DRIVER_AIX;
#define CDIO_MAX_DRIVER DRIVER_NRG static const driver_id_t CDIO_MAX_DRIVER __attribute__ ((deprecated("please use cdio_drivers"))) = DRIVER_NRG;
#define CDIO_MAX_DEVICE_DRIVER DRIVER_WIN32 static const driver_id_t CDIO_MAX_DEVICE_DRIVER __attribute__ ((deprecated("please use cdio_device_drivers"))) = DRIVER_WIN32;
/** /**
The following are status codes for completion of a given cdio The following are status codes for completion of a given cdio