]> sourceware.org Git - lvm2.git/commit
API change - support more const arg
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 18 Feb 2011 14:38:47 +0000 (14:38 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 18 Feb 2011 14:38:47 +0000 (14:38 +0000)
commit2f321615f22a9fef2eaa0258d62c49212f52a8b0
tree4ad5e1e642dba2482704c292a92af012dd113773
parent4ebc6404ee5453a5ade850e086befe5e10ec7242
API change - support more const arg

As dm_report_field_string() doesn't modify content of data pointer,
it can be marked as const.

It's slight API change - but doesn't require any change on the user side
and supports wider range of arguments without const casting.
(i.e. we may use as paramater const lv struct this way:  &lv->name)
WHATS_NEW_DM
libdm/libdevmapper.h
libdm/libdm-report.c
This page took 0.038873 seconds and 5 git commands to generate.