git: lvm2: More cleanup (include <unistd.h>, use default CSTD, WARNS = 1).

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Mar 11 13:10:05 PDT 2015


commit bf0d92b7fe9456dcf7fead1088076021bf662363
Author: Sascha Wildner <saw at online.de>
Date:   Wed Mar 11 21:09:12 2015 +0100

    lvm2: More cleanup (include <unistd.h>, use default CSTD, WARNS = 1).
    
    <unistd.h> is required for some prototypes (getpid(), unlink(), ...).
    
    WARNS?=2 requires some more work.

Summary of changes:
 contrib/lvm2/dist/lib/commands/toolcontext.c | 1 +
 contrib/lvm2/dist/libdm/ioctl/libdm-netbsd.h | 1 +
 gnu/lib/libdevmapper/Makefile                | 4 ++--
 gnu/lib/liblvm/Makefile                      | 1 -
 gnu/sbin/dmsetup/Makefile                    | 2 +-
 gnu/sbin/lvm/Makefile                        | 4 ++--
 share/initrd/sbin.lvm/Makefile               | 4 ++--
 7 files changed, 9 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bf0d92b7fe9456dcf7fead1088076021bf662363


-- 
DragonFly BSD source repository


More information about the Commits mailing list