Page MenuHomeFreeBSD

diff3: Remove bespoke getopt.h
ClosedPublic

Authored by emaste on Nov 18 2025, 1:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 3, 10:26 AM
Unknown Object (File)
Fri, Jun 19, 5:30 PM
Unknown Object (File)
May 19 2026, 2:08 PM
Unknown Object (File)
May 13 2026, 6:36 AM
Unknown Object (File)
May 11 2026, 7:03 PM
Unknown Object (File)
May 11 2026, 7:03 PM
Unknown Object (File)
May 11 2026, 4:24 PM
Unknown Object (File)
May 5 2026, 9:17 AM
Subscribers

Details

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable