git: dump(8), restore(8): Fix building with -fno-common

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Jul 10 06:19:00 PDT 2020


commit db6f5da736eb1e2bfafcaece7c6e4dc04db72ca7
Author: Krzysztof Piecuch <piecuch at protonmail.com>
Date:   Thu Jul 9 21:23:18 2020 +0000

    dump(8), restore(8): Fix building with -fno-common
    
    -fno-common will be default in future compilers (GCC 10, for example).
    
    taken-from: freebsd/freebsd at 1e06b254773895e61b246dccbf418fd5c444d93a

Summary of changes:
 include/protocols/dumprestore.h |  2 +-
 sbin/dump/dump.h                | 56 +++++++++++++++++++----------------------
 sbin/dump/itime.c               |  6 +++--
 sbin/dump/main.c                | 35 ++++++++++++++++++++------
 sbin/dump/pathnames.h           |  1 -
 sbin/dump/tape.c                | 20 +++++++++------
 sbin/restore/restore.h          |  2 +-
 sbin/restore/tape.c             |  2 ++
 8 files changed, 73 insertions(+), 51 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list