1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix return type qualifier to avoid compiler warning.

introduced in commit b16b4d92a7
"Improve various log messages."

fixes a lot of
../include/metadata.h:148: warning: type qualifiers ignored on function return type
This commit is contained in:
Milan Broz 2010-08-26 12:08:19 +00:00
parent 5c8cba0b47
commit c7af31dbd7
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.74 -
==================================
Fix return type qualifier to avoid compiler warning. (2.02.69)
Automatically generate LSB Requires-Start for clvmd init script.
Fix return code of pvmove --abort PV.
Fix pvmove --abort to remove even for empty pvmove LV.

View File

@ -145,7 +145,7 @@ struct metadata_area_ops {
* Per location description for logging.
*/
const char *(*mda_metadata_locn_name) (void *metadata_locn);
uint64_t const (*mda_metadata_locn_offset) (void *metadata_locn);
uint64_t (*mda_metadata_locn_offset) (void *metadata_locn);
/*
* Returns number of free sectors in given metadata area.