git: mfiutil(8): Fix building with -fno-common.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Jun 28 02:49:01 PDT 2020


commit 381696a1174c6946d5343d48d2119abe0e831622
Author: Sascha Wildner <saw at online.de>
Date:   Sun Jun 28 11:22:42 2020 +0200

    mfiutil(8): Fix building with -fno-common.
    
    -fno-common will be default in future compilers (GCC 10, for example).
    
    This removes some redundant code.
    
    Taken-from: FreeBSD

Summary of changes:
 usr.sbin/mfiutil/mfi_flash.c | 34 ++--------------------------------
 usr.sbin/mfiutil/mfi_show.c  | 30 ------------------------------
 usr.sbin/mfiutil/mfiutil.c   | 30 +++++++++++++++++++++++++++++-
 usr.sbin/mfiutil/mfiutil.h   |  3 +++
 4 files changed, 34 insertions(+), 63 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/381696a1174c6946d5343d48d2119abe0e831622


-- 
DragonFly BSD source repository



More information about the Commits mailing list