diff options
author | Colin Watson <cjwatson@ubuntu.com> | 2010-04-12 10:16:21 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-04-13 20:20:26 +0200 |
commit | 476db29336c42867fcf200a2a9860a76fb6cf1c5 (patch) | |
tree | 786cdd1f786f495c6eb3bd5b0b5ccab53946f963 /include | |
parent | cbf873fbe9210dff208e366c5b620cb1625937d4 (diff) | |
download | parted-476db29336c42867fcf200a2a9860a76fb6cf1c5.tar.gz |
maint: constify ped_device_get_constraint interface
* include/parted/device.h (ped_device_get_constraint): Constify "dev"
parameter.
* libparted/device.c (ped_device_get_constraint): Likewise.
Diffstat (limited to 'include')
-rw-r--r-- | include/parted/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/parted/device.h b/include/parted/device.h index 764c246..bfeafed 100644 --- a/include/parted/device.h +++ b/include/parted/device.h @@ -145,7 +145,7 @@ extern int ped_device_sync (PedDevice* dev); extern int ped_device_sync_fast (PedDevice* dev); extern PedSector ped_device_check (PedDevice* dev, void* buffer, PedSector start, PedSector count); -extern PedConstraint* ped_device_get_constraint (PedDevice* dev); +extern PedConstraint* ped_device_get_constraint (const PedDevice* dev); extern PedConstraint *ped_device_get_minimal_aligned_constraint( const PedDevice *dev); |