git: lvm - get rid of gcc-only cruft

Alex Hornung alexh at
Mon Jul 19 15:23:31 PDT 2010

commit 9c0b8ae76e09b63dd26c2ef20050734863fb221a
Author: Alex Hornung <ahornung at>
Date:   Mon Jul 19 22:40:35 2010 +0100

    lvm - get rid of gcc-only cruft
    * replace the subtraction of members of unions and structs with the
      standard use of offsetof.
    * This allows lvm to be compiled by clang.
    Reported-by: Sascha Wildner

Summary of changes:
 contrib/lvm2/dist/lib/report/report.c |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list