git: kernel: Fix some -Wundef warnings in oce(4) and mps(4).

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Jan 13 14:37:45 PST 2018


commit 680f56fe73ab00b823764c5dd10783728f29bc25
Author: Sascha Wildner <saw at online.de>
Date:   Sat Jan 13 23:37:38 2018 +0100

    kernel: Fix some -Wundef warnings in oce(4) and mps(4).
    
    __FreeBSD_version is not defined in DragonFly, so make it clearer
    which path we take.

Summary of changes:
 sys/dev/netif/oce/oce_if.c |  4 ++--
 sys/dev/raid/mps/mps.c     |  2 +-
 sys/dev/raid/mps/mps_sas.c | 20 ++++++++++----------
 sys/dev/raid/mps/mpsvar.h  |  4 ++--
 4 files changed, 15 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/680f56fe73ab00b823764c5dd10783728f29bc25


-- 
DragonFly BSD source repository


More information about the Commits mailing list