git: indent(1): fix building with -fno-common

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Jun 28 12:22:38 PDT 2020


commit 978e8d968759a678190d6705edbb5c1465672add
Author: Krzysztof Piecuch <piecuch at protonmail.com>
Date:   Sun Jun 28 10:35:29 2020 +0000

    indent(1): fix building with -fno-common
    
    Taken-from: freebsd/freebsd at e08f7da38459b29b19fd5766eb68864e203a1c93
    
    -fno-common will be default in future compilers (GCC 10, for example).

Summary of changes:
 usr.bin/indent/indent.c       | 24 +++++++++++
 usr.bin/indent/indent_globs.h | 96 ++++++++++++++++++++++---------------------
 usr.bin/indent/io.c           |  9 ++++
 usr.bin/indent/parse.c        |  4 ++
 4 files changed, 87 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/978e8d968759a678190d6705edbb5c1465672add


-- 
DragonFly BSD source repository


More information about the Commits mailing list