HomeFreeBSD

fsck_ffs/fsdb: fix -fno-common build

Description

fsck_ffs/fsdb: fix -fno-common build

This one is also a small list:

  • 3x duplicate definition (ufs2_zino, returntosingle, nflag)
  • 5x 'needs extern', 3/5 of which are referenced in fsdb

-fno-common will become the default in GCC10/LLVM11.

MFC after: 1 week

Details

Provenance
kevansAuthored on
Parents
rS359426: Fix build with src on a noexec filesystem.
Branches
Unknown
Tags
Unknown