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)
Wed, Jul 29, 12:35 PM
Unknown Object (File)
Wed, Jul 29, 1:46 AM
Unknown Object (File)
Fri, Jul 17, 7:55 AM
Unknown Object (File)
Wed, Jul 15, 6:55 AM
Unknown Object (File)
Wed, Jul 15, 6:55 AM
Unknown Object (File)
Fri, Jul 3, 10:26 AM
Unknown Object (File)
Jun 19 2026, 5:30 PM
Unknown Object (File)
May 19 2026, 2:08 PM
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