HomeFreeBSD

diff3: Remove bespoke getopt.h

Description

diff3: Remove bespoke getopt.h

diff3's getopt.h included a function declaration without a prototype,
which produces a compiler warning. Just remove the bespoke getopt.h
and use the system header.

Reported by: Mark Millard
Reviewed by: fuz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53802

(cherry picked from commit 38829592dc77e9ead4259785e0bfb93bd4c2fe34)

Details

Provenance
emasteAuthored on Nov 18 2025, 1:16 PM
Reviewer
fuz
Differential Revision
D53802: diff3: Remove bespoke getopt.h
Parents
rGab4f4f4efaac: kgssapi: Remove broken MOD_UNLOAD code
Branches
Unknown
Tags
Unknown