git: lvm - get rid of gcc-only cruft

Alex Hornung alexh at crater.dragonflybsd.org
Mon Jul 19 15:23:31 PDT 2010


commit 9c0b8ae76e09b63dd26c2ef20050734863fb221a
Author: Alex Hornung <ahornung at gmail.com>
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c0b8ae76e09b63dd26c2ef20050734863fb221a


-- 
DragonFly BSD source repository





More information about the Commits mailing list