[parted-devel] [PATCH 6/8] maint: unmark PedDeviceType as deprecated

Petr Uzel petr.uzel at suse.cz
Wed Sep 28 08:45:07 UTC 2011


PedDeviceType was marked as deprecated before parted started using
git. Since it proved to be useful to differentiate between different
device types and nobody seems interested in removing it from the API,
let's clear the deprecated flag.

Signed-off-by: Petr Uzel <petr.uzel at suse.cz>
---
 include/parted/device.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/include/parted/device.h b/include/parted/device.h
index 0634465..a04d9fc 100644
--- a/include/parted/device.h
+++ b/include/parted/device.h
@@ -29,7 +29,6 @@
 /** We can address 2^63 sectors */
 typedef long long PedSector;
 
-/** \deprecated Removal from API planned */
 typedef enum {
         PED_DEVICE_UNKNOWN      = 0,
         PED_DEVICE_SCSI         = 1,
@@ -74,8 +73,7 @@ struct _PedDevice {
                                              (manufacturer, model) */
         char*           path;           /**< device /dev entry */
 
-        PedDeviceType   type;           /**< SCSI, IDE, etc.
-                                             \deprecated \sa PedDeviceType */
+        PedDeviceType   type;           /**< SCSI, IDE, etc. \sa PedDeviceType */
         long long       sector_size;            /**< logical sector size */
         long long       phys_sector_size;       /**< physical sector size */
         PedSector       length;                 /**< device length (LBA) */
-- 
1.7.3.4




More information about the parted-devel mailing list