HomeFreeBSD

kqueue tests: fix -fno-common build

Description

kqueue tests: fix -fno-common build

vnode_fd and kqfd are both shared among multiple CU; define them exactly
once.

In the case of vnode_fd, it was simply the declaration that needed
correction.

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

MFC after: 3 days

Details

Provenance
kevansAuthored on
Parents
rS359674: libcasper: Constify cap_sysctl_limit_mib() mib parameter
Branches
Unknown
Tags
Unknown