]> sourceware.org Git - lvm2.git/commitdiff
Fix return type qualifier to avoid compiler warning.
authorMilan Broz <mbroz@redhat.com>
Thu, 26 Aug 2010 12:08:19 +0000 (12:08 +0000)
committerMilan Broz <mbroz@redhat.com>
Thu, 26 Aug 2010 12:08:19 +0000 (12:08 +0000)
introduced in commit b16b4d92a7bd80b61b85c5db857173a8f0567374
"Improve various log messages."

fixes a lot of
../include/metadata.h:148: warning: type qualifiers ignored on function return type

WHATS_NEW
lib/metadata/metadata.h

index 1c845b7b885407d8079e3f8a0f9befd057e0d4f2..cf98cdfa2179b26fb7741afd55693ae640393943 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -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.
index 3d074dc5885a5e9d44b6a1a6fd0019c8be011745..b570cee05a1c62f5a1f847be314ec28249016eef 100644 (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.
This page took 0.048565 seconds and 5 git commands to generate.