DragonFly BSD
DragonFly commits List (threaded) for 2010-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: lvm - get rid of gcc-only cruft


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Jul 2010 15:23:20 -0700 (PDT)

commit 9c0b8ae76e09b63dd26c2ef20050734863fb221a
Author: Alex Hornung <ahornung@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]