HomeFreeBSD

ctfdump: Remove definitions of warn() and vwarn()

Description

ctfdump: Remove definitions of warn() and vwarn()

The presence of the latter causes a link error when building a
statically linked ctfdump(1) because libc defines the same symbol.
libc's warn() is defined as a weak symbol and so does not cause the same
problem, but let's just use libc's version.

Reported by: stephane rochoy <stephane.rochoy@stormshield.eu>
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 45dd2eaac379e5576f745380260470204c49beac)

Details

Provenance
markjAuthored on Apr 21 2022, 2:49 PM
Parents
rGccb94ba0dacc: ctf: Link CTF toolchain man pages to ctf.5
Branches
Unknown
Tags
Unknown